Hi Adib,
Unfortunately it's not possible to pass a custom message in an event handler. You will need to implement your own File uploader control, which will do the custom validation and display the message you need: https://docs.kentico.com/k10/custom-development/developing-form-controls