supports selection of directories