use getHomeDirectory