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