Works with strip() results.
Passes file path as argument.
Doesn't break from loop.
Closes file handle.
Merge pull request #1 from attadanta/master

Significant improvements