code: def _path(subdir, task, opt):
      build(opt)
      dt = opt["datatype"].split(":")[0]
      task_name = "%s_%s" % (
          task.split("_")[1],
          tasks[int(task.split("_")[0])],
      )
      return os.path.join(
          opt["datapath"],
          "DBLL",
          "dbll",
          "{subdir}_{task}_{suffix}.txt".format(
              subdir=subdir, task=task_name, suffix=_suffixes[dt]
          ),
      )
  
file_path: ParlAI/parlai/tasks/dbll_movie/agents.py
imports: from parlai.core.teachers import FbDeprecatedDialogTeacher
  from .build import build
  import copy
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _path(subdir, task, opt) and returns: os