File management is complex unfortunately, this makes validation in the frontend difficult. From the top of my head: Files can exist multiple times in various versions, there can be newly uploaded files (which are not yet saved), file naming conflicts that only occur once a user attempts to save, etc.
It would likely only work reliably, if we build file validation options into the platform itself. It would not be a small feature and we´d need to include various options to make it useful. Right now, we have a large lists of features to add to the next feature release, so I don´t think we can offer this soon.
As an app author right now, you can check files after changes are commited - ie. in a backend function, running via AFTER trigger. With the instance function 'files_get()' you can read the current state of files, including the extensions, final names, etc. This works if there is a change to the record itself (not just files being uploaded); once the database is updated, all files are in their final state and you can reliably validate. Downside is that validation like this with an AFTER trigger can only inform the user, it does not block the user from doing it in the first place.