code: def download_mutual_plus_data_and_write_config(
      task_name: str, task_data_path: str, task_config_path: str
  ):
      os.makedirs(task_data_path, exist_ok=True)
      os.makedirs(task_data_path + "/train", exist_ok=True)
      os.makedirs(task_data_path + "/dev", exist_ok=True)
      os.makedirs(task_data_path + "/test", exist_ok=True)
      num_files = {"train": 7088, "dev": 886, "test": 886}
      for phase in num_files:
          examples = []
          for i in range(num_files[phase]):
              file_name = phase + "_" + str(i + 1) + ".txt"
              download_utils.download_file(
                  f"https://raw.githubusercontent.com/Nealcly/MuTual/"
                  + f"master/data/mutual_plus/{phase}/{file_name}",
                  os.path.join(task_data_path, phase, file_name),
              )
              for line in py_io.read_file_lines(
                  os.path.join(task_data_path, phase, file_name)
              ):
                  examples.append(line)
          py_io.write_jsonl(
              examples, os.path.join(task_data_path, phase + ".jsonl")
          )
          shutil.rmtree(os.path.join(task_data_path, phase))
  
      py_io.write_json(
          data={
              "task": task_name,
              "paths": {
                  "train": os.path.join(task_data_path, "train.jsonl"),
                  "val": os.path.join(task_data_path, "dev.jsonl"),
                  "test": os.path.join(task_data_path, "test.jsonl"),
              },
              "name": task_name,
          },
          path=task_config_path,
      )
  
imports: import json
  import logging
  import os
  import pandas
  import re
  import shutil
  import tarfile
  from operator import itemgetter
  from collections import Counter
  import jiant.scripts.download_data.utils
  import jiant.utils.display
  import jiant.utils.python.filesystem
  import jiant.utils.python.io
  from jiant.scripts.download_data.constants import SQUAD_TASKS, DIRECT_SUPERGLUE_TASKS_TO_DATA_URLS
label_desc: Use image node_id 10 for calling a global function with example usage: download_mutual_plus_data_and_write_config(task_name, task_data_path, task_config_path) without return types