code: def FindIxes(self, paths, prefix, suffix):
          
  
          suffix = self.subst('$'+suffix)
          prefix = self.subst('$'+prefix)
  
          for path in paths:
              dir,name = os.path.split(str(path))
              if name[:len(prefix)] == prefix and name[-len(suffix):] == suffix:
                  return path
docs: Search a list of paths for something that matches the prefix and suffix.
  
          paths - the list of paths or nodes.
          prefix - construction variable for the prefix.
          suffix - construction variable for the suffix.