code: def writeFile(str, filename):
      resultF = open(filename, "w")
      resultF.write(str)
      resultF.close()
  
imports: from essentia_test import *
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: writeFile(str, filename) without return types