code: def write_files(self):
      for file in self.segments:
          for key, val in file.items():
              if self.args.input_type == "xml":
                  tempo, val = val
                  score = dict(
                      tempo=tempo,
                      item_list=["st", "et", "lyric", "midi"],
                      note=val,
                  )
                  self.writer[key] = score
  
              segment_begin = "{:.3f}".format(val[0][0])
              segment_end = "{:.3f}".format(val[-1][1])
              self.update_segments.write(
                  "{} {} {} {}\n".format(
                      key,
                      "_".join(key.split("_")[:-1]),
                      segment_begin,
                      segment_end,
                  )
              )
              self.update_text.write("{} ".format(key))
              self.update_label.write("{}".format(key))
  
              for v in val:
                  if self.args.input_type == "hts":
                      self.update_label.write(
                          " {:.3f} {:.3f}  {}".format(v[0], v[1], v[2])
                      )
                  self.update_text.write(" {}".format(v[2]))
  
              if self.args.input_type == "hts":
                  self.update_label.write("\n")
              self.update_text.write("\n")
  
imports: import argparse
  import math
  import os
  import sys
  import music21
  from espnet2.fileio.score_scp import SingingScoreWriter, XMLReader
label_desc: Use image node_id 15 for calling the DataHandler obj's underlying member method code with example usage: obj.write_files() without return types