divide into files