import pickle


def load_from_pkl(pkl):
    """Load experiment resource from file."""

    try:
        with open(pkl, 'rb') as f:
            return pickle.load(f)
    except IOError:
        pass
    return None