def METHOD_NAME(self, human=None):
    """
    Returns:
        data (dict): converted from contents of file path given extention
                     empty dict if empty file
    Raises:
        IOError if unsupported file extension
    file may be either json, msgpack, or cbor given by extension .json, .mgpk, or
    .cbor respectively
    """
    if not self.file or self.file.closed:
        raise ValueError(f"File '{self.path}' not opened.")
    human = human if human is not None else self.human
    it = {}
    self.file.seek(0)
    ser = self.file.read()
    if ser:  # not empty
        root, ext = os.path.splitext(self.path)
        if ext == '.json':  # json.load works with bytes as well as str
            if human:
                it = hjson.loads(ser.decode("utf-8"))
            else:
                it = json.loads(ser.decode("utf-8"))
        elif ext == '.mgpk':
            it = msgpack.loads(ser)
        elif ext == '.cbor':
            it = cbor.loads(ser)
        else:
            raise IOError(f"Invalid file path ext '{ext}' "
                         f"not '.json', '.mgpk', or 'cbor'.")
    return it