import pickle


def read_data(path, n_vaues=None):
    """
        Given a path, read the file and return the contents.

        Arguments:
        path (string) : File path with .pkl extension
        n_values (int) : Number of containers expected to be read. 
    """
    
    f = open(path, "rb")
    d = pickle.load(f)
    f.close()
    return d