<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _resource_context(fn):
 """ Compose path to the ``resources`` directory for given `fn`. Args: fn (str):
 Filename of file in ``resources`` directory. Returns: str: Absolute path to the file in resources directory. """

    return os.path.join(
        os.path.dirname(__file__),
        DES_DIR,
        fn
    )