Updated file reader for one line file read