require file name and content type when uploading file