error messages for bad input file