perl-file-mimeinfo (File::MimeInfo - Determine file type) This module can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database.