Found 2 packages
A collection of FileTypes with both file extensions, mime-types and UTType (UTI (Universal Type Identifier)). The FileType-structure makes it also easy to create a list including other types not defined yet also.
This package provides an interface to create different "preview"-functionality for byte-arrays.