code: def save_parameter_file(self, command_data):
      parameters = command_data["parameters"]
      file_index = int(parameters["index"])
      if file_index == 0:
          parameter_file_name = "parameter.cfg"
      else:
          parameter_file_name = "parameter_{}.cfg".format(file_index)
      parameter_file_name = os.path.join(
          self.working_dir, parameter_file_name
      )
      with open(parameter_file_name, "w") as parameter_file:
          nni_log(
              LogType.Info,
              "%s: saving parameter %s"
              % (self.name, parameters["value"]),
          )
          parameter_file.write(parameters["value"])
  
file_path: nni/nni/tools/trial_tool/trial.py
imports: import ctypes
  import os
  import sys
  import shlex
  import tarfile
  import time
  from datetime import datetime
  from subprocess import Popen
  import psutil
  from .log_utils import LogType, RemoteLogger, StdOutputType, nni_log
  from .commands import CommandType
label_desc: Use image node_id 3 for calling the Trial obj's underlying member method code with example usage: obj.save_parameter_file(command_data) without return types