Reads in file.