Check for write access to home directory only if really want to write some file into it
Change logging patterns: File - full, Console - simple