re-styling readfile.js a bit.
Merge pull request #48 from defaude/beta/0.8.0

re-styling readfile.js a bit.