Display invalid file in upload error messages