Added the name of the file to the error report.