Added a local interface for dirlist.