Updated to make mime types file configurable