Dont need two methods for reading two different files. Merge to readFile(filename) instead.