add require for fs usage
Merge pull request #40 from davekaro/master

add require for fs usage