Reads from a text file first