remove $file from constructor

issue #20
Merge pull request #21 from jowy/patch-1

remove $file from constructor