Actually fixed text file reading(?)