Removed hardcoding of user home directory.
Added example.
Merge pull request #1 from shantanoo/master

Removed hardcoding of user home directory.