Hash sum should also include the file itself

And not just get the hash from the filename.
Lots of bugfixes to _tokenizeAt in scanner