code: def stem(filename):
      i = filename.find(".")
      if i != -1:
          return filename[0:i]
      else:
          return filename
  
imports: import bjam
  import re
  import types
  from itertools import groupby
label_desc: Use image node_id 15 for calling a global function with example usage: stem(filename) and returns: filename, filename