Also the appDir is an object. So printing this does not show the directory name. It is giving [xpconnect wrapped nsILocalFile].