use filepath
fix doc
Merge pull request #102 from Mistobaan/master

minor go idiomatic fixes