import pickle


def pickle_loader(path):
    """A loader for pickle files that contain a sample
    Args:
        path: Path to an audio track
    
    Returns:
        sample: A sample
    """
    with open(path, 'rb') as pkl:
        sample = pickle.load(pkl)
    return sample