code: def path_to_string_content(path, max_length):
      txt = tf.io.read_file(path)
      if max_length is not None:
          txt = tf.strings.substr(txt, 0, max_length)
      return txt
  
imports: import numpy
  from keras.api_export import keras_export
  from keras.utils import dataset_utils
  from keras.utils.module_utils import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: path_to_string_content(path, max_length) and returns: txt