Create a model output file object from a dictionary.

def from_dict(doc):
        """Create a model output file object from a dictionary.

        """
        if 'path' in doc:
            path = doc['path']
        else:
            path = None
        return ModelOutputFile(
            doc['filename'],
            doc['mimeType'],
            path=path
        )