Separate $file from each other

Better readable
Merge pull request #19 from nachfuellbar/patch-3

Separate $file from each other