Also, I suggest to consider other validations related to file upload in general both in front end and at back end (If your implementation involves back end logic too)
Also, I suggest to consider other validations related to file upload in general both in front end and at back end (If your implementation involves back end logic too)