The FileSystemDirectoryEntry interface's method createReader() returns a the directory.
createReader()
MDN Reference