rebuilding the directory listings