You be correct

If you make arr a generic NxM array you can load it and dump it all at once.

BUT you have to use arr(n,1), arr(n,2), etc.