fixed file initialization
Merge pull request #1 from dghanson/master

fixed file initialization