add filename to error