function dirlist added