spliting into files