Iterate over names instead of length when correcting 'sub_array_of_indices_by_file'

1 job for develop-correct_timesteps_across_dim
in 1 minute and 54 seconds, using 0 compute credits, and was queued for 3 seconds