Get the directory name.