Rewrote the dirlist module.