docs: def create_file_from_text(self, share_name, directory_name, file_name, 
                             text, encoding='utf-8', content_settings=None,
                             metadata=None, timeout=None):
          '''
          Creates a new file from str/unicode, or updates the content of an
          existing file, with automatic chunking and progress notifications.
  
          :param str share_name:
              Name of existing share.
          :param str directory_name:
              The path to the directory.
          :param str file_name:
              Name of file to create or update.
          :param str text:
              Text to upload to the file.
          :param str encoding:
              Python encoding to use to convert the text to bytes.
          :param ~azure.storage.file.models.ContentSettings content_settings:
              ContentSettings object used to set file properties.
          :param metadata:
              Name-value pairs associated with the file as metadata.
          :type metadata: a dict mapping str to str
          :param int timeout:
              The timeout parameter is expressed in seconds. This method may make 
              multiple calls to the Azure service and the timeout will apply to 
              each call individually.
          '''
          _validate_not_none('share_name', share_name)
          _validate_not_none('file_name', file_name)
          _validate_not_none('text', text)
  
          if not isinstance(text, bytes):
              _validate_not_none('encoding', encoding)
              text = text.encode(encoding)
  
          self.create_file_from_bytes(
              share_name, directory_name, file_name, text, 0,
              len(text), content_settings, metadata, timeout)