Added filename to error message