reads the text file