Added mime type mapping
WIP (does not work)