Speed by a factor of 10 with generators to load fits files