get bottom level directory