code: def flatten_filename(filename):
      return filename.replace("/", "_").replace(".", "_")
  
imports: import os
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: flatten_filename(filename) and returns: filename