docs: def create_file(self, path, content, mode='w'):
          """Create a file with a content.
          :param path: the path of the file.
          :type path: str
          :param content: the content of the file
          :type content: str
          :param mode: the mode of the file while opening it
          :type mode: str
          """
          self._check_started()
          sftp = paramiko.SFTPClient.from_transport(self._transport)
          with sftp.open(path, mode) as remote_file:
              remote_file.write(content)
              remote_file.flush()