split file into read & print