code: def create_luts(fname):
      # Get the lines in the C header file
      text = open(fname, "rb").read().decode("utf-8")
      lines1 = [line.rstrip() for line in text.splitlines()]
  
      # Init lines for Python
      lines2 = []
  
      # Get classic table
      more_lines, ii = get_table(
          lines1, "static const char casesClassic", 0
      )
      lines2.extend(more_lines)
  
      # Get cases table
      more_lines, ii = get_table(lines1, "static const char cases", 0)
      lines2.extend(more_lines)
  
      # Get tiling tables
      ii = 0
      for casenr in range(99):
          # Get table
          more_lines, ii = get_table(
              lines1, "static const char tiling", ii + 1
          )
          if ii < 0:
              break
          else:
              lines2.extend(more_lines)
  
      # Get test tables
      ii = 0
      for casenr in range(99):
          # Get table
          more_lines, ii = get_table(
              lines1, "static const char test", ii + 1
          )
          if ii < 0:
              break
          else:
              lines2.extend(more_lines)
  
      # Get subconfig tables
      ii = 0
      for casenr in range(99):
          # Get table
          more_lines, ii = get_table(
              lines1, "static const char subconfig", ii + 1
          )
          if ii < 0:
              break
          else:
              lines2.extend(more_lines)
  
      return "\n".join(lines2)
  
label_desc: Use image node_id 1 for calling a global function with example usage: create_luts(fname) and returns: str