mimetype file generation.
Bug fixes.