def METHOD_NAME(self, file):
    """
    Read a MMTF file.
    Parameters
    ----------
    file : file-like object or str
        The file to be read.
        Alternatively a file path can be supplied.
    Returns
    -------
    file_object : MMTFFile
        The parsed file.
    """
    mmtf_file = MMTFFile()
    # File name
    if is_open_compatible(file):
        with open(file, "rb") as f:
            mmtf_file._content = msgpack.unpackb(
                f.METHOD_NAME(), use_list=True, raw=False
            )
    # File object
    else:
        if not is_binary(file):
            raise TypeError("A file opened in 'binary' mode is required")
        mmtf_file._content = msgpack.unpackb(
            file.METHOD_NAME(), use_list=True, raw=False
        )
    return mmtf_file