Exit the program if the file fails to be read in.