code: def create_file(self, path, content, mode='w', user='root'):
          
          self.enable_user(user)
          return self.ssh_pool.create_file(user, path, content, mode)
docs: Create a file on the remote host.