import pickle


def read_pickled_file(filename):
    """
    Returns the contents of `filename` if it exists and can be parsed by pickle.
    Returns `None` if file cannot be read.
    """
    try:
        with open(filename, 'rb') as f:
            return pickle.load(f)
    except:
        return None