code: def make_parlai_format(outpath, dtype, data):
      print("building parlai:" + dtype)
      with PathManager.open(
          os.path.join(outpath, dtype + ".txt"), "w"
      ) as fout:
          for line in data:
              for each in line["paragraphs"]:
                  fout.write(_handle_paragraph(each))
  
file_path: ParlAI/parlai/tasks/quac/build.py
imports: import parlai.core.build_data
  import os
  import json
  from parlai.core.build_data import DownloadableFile
  from parlai.utils.io import PathManager
label_desc: Use image node_id 3 for calling a global function with example usage: make_parlai_format(outpath, dtype, data) without return types