Improved error reporting of the input file parser