def get_file_to_text(<EOL>self, share_name, directory_name, file_name, encoding='<STR_LIT:utf-8>',<EOL>start_range=None, end_range=None, range_get_content_md5=None,<EOL>progress_callback=None, max_connections=<NUM_LIT:1>, max_retries=<NUM_LIT:5>,<EOL>retry_wait=<NUM_LIT:1.0>, timeout=None):
_validate_not_none('<STR_LIT>', share_name)<EOL>_validate_not_none('<STR_LIT>', file_name)<EOL>_validate_not_none('<STR_LIT>', encoding)<EOL>file = self.get_file_to_bytes(<EOL>share_name,<EOL>directory_name,<EOL>file_name,<EOL>start_range,<EOL>end_range,<EOL>range_get_content_md5,<EOL>progress_callback,<EOL>max_connections,<EOL>max_retries,<EOL>retry_wait,<EOL>timeout)<EOL>file.content = file.content.decode(encoding)<EOL>return file<EOL>
Downloads a file as unicode text, with automatic chunking and progress
notifications. Returns an instance of :class:`File` with properties,
metadata, and content.

:param str share_name:
    Name of existing share.
:param str directory_name:
    The path to the directory.
:param str file_name:
    Name of existing file.
:param str encoding:
    Python encoding to use when decoding the file data.
:param int start_range:
    Start of byte range to use for downloading a section of the file.
    If no end_range is given, all bytes after the start_range will be downloaded.
    The start_range and end_range params are inclusive.
    Ex: start_range=0, end_range=511 will download first 512 bytes of file.
:param int end_range:
    End of byte range to use for downloading a section of the file.
    If end_range is given, start_range must be provided.
    The start_range and end_range params are inclusive.
    Ex: start_range=0, end_range=511 will download first 512 bytes of file.
:param bool range_get_content_md5:
    When this header is set to True and specified together
    with the Range header, the service returns the MD5 hash for the
    range, as long as the range is less than or equal to 4 MB in size.
:param progress_callback:
    Callback for progress with signature function(current, total) 
    where current is the number of bytes transfered so far, and total is 
    the size of the file if known.
:type progress_callback: callback function in format of func(current, total)
:param int max_connections:
    Set to 1 to download the file sequentially.
    Set to 2 or greater if you want to download a file larger than 64MB in chunks.
    If the file size does not exceed 64MB it will be downloaded in one chunk.
:param int max_retries:
    Number of times to retry download of file chunk if an error occurs.
:param int retry_wait:
    Sleep time in secs between retries.
: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.
:return: A File with properties, content, and metadata.
:rtype: :class:`~azure.storage.file.models.File`