Add filename to error messages.