Expand directory name