code: def _path(version, opt, exsz=""):
      # Build the data if it doesn't exist.
      build(opt)
      dt = opt["datatype"].split(":")[0]
      if exsz:
          fname = "%s.%s.txt" % (dt, exsz)
      else:
          fname = "%s.txt" % dt
      return os.path.join(
          opt["datapath"], "InsuranceQA", version, fname
      )
  
file_path: ParlAI/parlai/tasks/insuranceqa/agents.py
imports: import copy
  import os
  from parlai.core.teachers import FbDeprecatedDialogTeacher
  from .build import build
label_desc: Use image node_id 1 for calling a global function with example usage: _path(version, opt, exsz) and returns: os