code: def list_all_files(client, fileshare, timeout=None):
      # type: (azure.storage.file.FileService, str, int) -> str
      
      dirs = [None]
      while len(dirs) > 0:
          dir = dirs.pop()
          files = client.list_directories_and_files(
              share_name=fileshare,
              directory_name=dir,
              timeout=timeout,
          )
          for file in files:
              fspath = str(
                  pathlib.Path(dir if dir is not None else '') / file.name)
              if type(file) == azure.storage.file.models.File:
                  yield fspath
              else:
                  dirs.append(fspath)
docs: List all files in share
      :param azure.storage.file.FileService client: file client
      :param str fileshare: file share
      :param int timeout: timeout
      :rtype: str
      :return: file name