Lookup script to map mime types to a more generic file type