code: def update_summary_file():
      """
      Concatecate all log file into a summary text file to be sent to users
      at the end of a daily log scraping.
  
      :return: none
      """
      global g_summary_text_filename
      global g_output_filename_failed_tests
      global g_output_filename_passed_tests
  
      with open(g_summary_text_filename, "a") as tempfile:
          write_file_content(tempfile, g_output_filename_failed_tests)
          write_file_content(tempfile, g_output_filename_passed_tests)
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 21 for calling a global function with example usage: update_summary_file() without return types