take only one directory