handle root's home directory correctly
apply whitespace based indenting