Output correct error message when input file does not exist