I am doing upload code using FileReference.
I want users to only be able to upload images , so I use
FileFilter object to do that.
But only using FileFilter can't guarantee that I will get an
For instance, the user could change the extension of an exe
file to .jpg, and FileFilter will still allow it.