supports ~ for home dir, useful on Linux and Mac
~ support now