Fix for reading in file