code: def write_string_to_file(filename, file_content):
      """Writes a string to a given file.
  
      Args:
        filename: string, path to a file
        file_content: string, contents that need to be written to the file
  
      Raises:
        errors.OpError: If there are errors during the operation.
      """
      with FileIO(filename, mode="w") as f:
          f.write(file_content)
  
imports: import binascii
  import os
  from posixpath import join
  import uuid
  import six
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import _pywrap_file_io
  from tensorflow.python.util import compat
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 6 for calling a global function with example usage: write_string_to_file(filename, file_content) without return types