code: def _relative_path_to(path_list, filename):
      
      return os.path.join(
          os.path.relpath(os.path.join(*path_list), os.getcwd()),
          filename
      )
docs: Get a neat relative path to files relative to the CWD