This Java extension returns the actual MIME type of an uploaded file.
Uses Apache Tika for MIME Type detection: https://tika.apache.org/