code: def listdir(self, path, **kwargs):
          
          statuses = self.list_status(path, **kwargs)
          if len(statuses) == 1 and statuses[0].pathSuffix == '' and statuses[0].type == 'FILE':
              raise NotADirectoryError('Not a directory: {!r}'.format(path))
          return [f.pathSuffix for f in statuses]
docs: Return a list containing names of files in the given path