code: def read_task_file_as_string(
          batch_client, job_id, task_id, file_name, encoding=None):
      
      stream = batch_client.file.get_from_task(job_id, task_id, file_name)
      return _read_stream_as_string(stream, encoding)
docs: Reads the specified file as a string.
      Originally in azure-batch-samples.Python.Batch.common.helpers
  
      :param batch_client: The batch client to use.
      :type batch_client: `batchserviceclient.BatchServiceClient`
      :param str job_id: The id of the job.
      :param str task_id: The id of the task.
      :param str file_name: The name of the file to read.
      :param str encoding: The encoding of the file. The default is utf-8.
      :return: The file content.
      :rtype: str