import pickle


def load(fd):
    """
    Restores a serialized object.

    Parameters
    ----------
    fd: file descriptor

    Returns
    -------
    object
    """
    serialization = pickle.load(fd)
    return serialization.deserialize()