code: def write_file_content(fhandle, file2read):
      """
      Write one log file into the summary text file.
  
      Parameters
      ----------
      fhandle :  Python file handle
          file handle to the summary text file
      file2read : Python file handle
          file handle to log file where we want to add its content to the summary text file.
  
      :return: none
      """
      if os.path.isfile(file2read):
          # write summary of failed tests logs
          with open(file2read, "r") as tfile:
              fhandle.write("============ Content of " + file2read)
              fhandle.write("\n")
              fhandle.write(tfile.read())
              fhandle.write("\n\n")
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 22 for calling a global function with example usage: write_file_content(fhandle, file2read) without return types