closing file before creating the data binding, also modified script a bit
Merge pull request #100 from jiwalker-usgs/master

JRs Stats