Methods that make reading text files easier