File::mimeinfo can be used to determine the mime type of a file. it tries to implement the freedesktop specification for a shared mime database.
this package also contains two related utilities:
* mimetype: determine a file's mimetype
* mimeopen: open files according to their mimetype