Add detection of HOME dir to Log File initialization