def reader(file_name):

    with open(file_name, 'r') as f:
        return f.read()
checks if this meets the preconditions for being allowed in the cache
dataset/ETHPy150Open jomido/jogger/jogger/jogger.py/reader--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/cache.py/_is_valid