parsed a text file