<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def data_context(fn, mode="r"):
 """ Return content fo the `fn` from the `template_data` directory. """

    with open(data_context_name(fn), mode) as f:
        return f.read()