Changed file iterator to remove bug.
Merge pull request #1 from schryer/master

Changed file iterator to remove bug.