oh you can use appDir.path for aboluste path or appDir.leafName for directory name.