code: def save(self, filename):
          
          dirname = os.path.dirname(filename)
          if not os.path.exists(dirname):
              os.makedirs(dirname)
          
          try:
              f = open(filename, 'w')
          except StandardError:
              log.error('Failed to access file: {0}'.format(filename))
              return False
          
          try:
              f.write(yaml.dump(self._root, default_flow_style=False))
          except StandardError:
              log.error('Failed to save settings: {0}'.format(filename))
              return False
          finally:
              f.close()
          
          return True
docs: Saves the data for this settings instance to the given filename.
          
          :param      filename | <str>