SubmitHandler handles the actual submit when the form is valid:
So this won't validate the file extension itself.
You can however use the
extension validator built into jqueryvalidation which will do exactly what you are trying to achive. See this link for reference and for examples: