in reply to Re^2: list two paths files into one array
in thread list two paths files into one array

Yes, this is right: there is no real need for the for loop in this case. I thought that it was still better to show the process in an explicit loop since the OP is really a beginner. TIMTOWTDI, there are in fact many ways to do it.

Sorry for "spoiling" your answer, I did not think about that, but just thought that the OP deserved a simple example solution.