removed file_name from form, changed validation for attachments