Fix invalid invocation in filename resolver.
Fix a few minor syntax inaccuracies.
Merge pull request #6 from unfold/patch-1

Fix invalid next() invocation in filename resolver.