How can I set the file upload fields as required