The stream must already be positioned at the correct offset Construct a mimetype and take all information from an XML file. name="fullpath" the path to the xml that describes the mime type name="name" the name of the mimetype (usually the end of the path) name="comment" the comment associated with the mimetype