Add a working readdir.