Error called for problems with syntax input file. Prints error message msg to standard output stream.