add error message for file upload