text fragmenter from text file