def list_directories_and_files(self, share_name, directory_name=None, **kwargs):
return self.connection.list_directories_and_files(share_name,<EOL>directory_name,<EOL>**kwargs)<EOL>
Return the list of directories and files stored on a Azure File Share.

:param share_name: Name of the share.
:type share_name: str
:param directory_name: Name of the directory.
:type directory_name: str
:param kwargs: Optional keyword arguments that
    `FileService.list_directories_and_files()` takes.
:type kwargs: object
:return: A list of files and directories
:rtype: list