Why does France have so many immigrants from N. Africa, W. Africa and the Middle East?

Was the Post-1945 influx of migration due to a shortage of labour in the immediate wake of WW2?
12 answers 12