Merge pull request #4 from martinghunt/master

Remove debugging print statement
Merge pull request #5 from martinghunt/master

Bug fix with file list, should be rw