Make file rules deliver a (hopefully) correct mime type of the file. Allow users to provide their own mime type.