'Reads a directory given by path.
Args:
path: The path to list children of.
fh: A file handler. Not used.
Yields:
A generator of filenames.
Raises:
FuseOSError: If we try and list a file.'

def Readdir(self, path, fh=None):

    if (not self._IsDir(path)):
        raise fuse.FuseOSError(errno.ENOTDIR)
    fd = aff4.FACTORY.Open(self.root.Add(path), token=self.token)
    children = fd.ListChildren()
    for directory in [u'.', u'..']:
        (yield directory)
    for child in children:
        if (child.Path() not in self.ignored_dirs):
            (yield child.Basename())
