Issue 22

fixed issue #22 
`os.path.expanduser` is redundant here