Scanner: Fix for new file object

Somewhere the new instantiation for the file object on line 204
chaned from ->new() to (), this reverts it and it works fine now