@classmethod
def build_from_file(cls, path, skip_model_cls_init=False):
    """Build Framework File from model path.

        Args:
            path (str): Path to file.
            skip_model_cls_init (bool): If True, model is loaded directly
                from file and not instantiated as the Framework type.

        Returns: CoreMLFile instance.
        """
    if skip_model_cls_init:
        model = open(path, 'rb').read()
        return cls(model, is_byte_representation=True)
    import coremltools
    model = coremltools.models.MLModel(path)
    return cls(model)
