Forgot to error exit program if failed to open file