Handle file's history

Mostly add a `forgetUsingHistory` method in order to tackle the need to forget files using the original filename instead of the processed filename.

I'll be glad to tweak this PR anyway you want.

Thanks a lot,