added support for mime types
mime-types support now works

no regular expressions yet so if multiple file extensions map to the same
mime-type , one config line for each file extension is necessary