import pickle


def read_object(filepath):
    """
    Reads data from a file
    :param filepath: path on where to read the data from
    :return: read data
    """
    with open(filepath, "rb") as fp:
        return pickle.load(fp)