Added the validation for File upload