code: def save(self, filename, content):
          
          with open(filename, "w") as f:
              if hasattr(content, '__iter__'):
                  f.write('\n'.join([row for row in content]))
              else:
                  print('WRINGI CONTWETESWREWR')
                  f.write(str(content))
docs: default is to save a file from list of lines