Mendix has no built in features for this. I don't know the file type you are talking about, but I know of metadata of image files and pdf.
There are (at least) two ways to achieve what you ask:
- After upload, inspect the meta data, for example with a java-action (for pdf use pdfbox) and delete the file if it is not classified
- Create a custom file upload widget and inspect the metadata in the browser. This can be quite complex.