code: def save(self, fname=''):
          
          if fname != '':
              with open(fname, 'w') as f:
                  for t in self.lstTools:
                      self.verify(t)
                      f.write(self.tool_as_string(t))
docs: Save the list of tools to AIKIF core and optionally to local file fname