better exiting upon bad file read