Works with strip() results.
Passes file path as argument.
Doesn't break from loop.