Fix filename always being set to the first file's path.
Merge pull request #8 from abrkn/master

Fix filename always being set to the first file's path.