code: def write(self, destination, filename, content):
          
          if not os.path.exists(destination):
              try:
                  os.makedirs(destination)
              except:  # The directory can be created while creating it.
                  pass
  
          filepath = "%s/%s" % (destination, filename)
  
          f = open(filepath, "w+")
          f.write(content)
          f.close()
docs: Write a file at the specific destination with the content.
  
              Args:
                  destination (string): the destination location
                  filename (string): the filename that will be written
                  content (string): the content of the filename