Fix issue #16: add infix version of file with same digest as original

I tried to fix it as simple as possible, I also wrote tests and updated the readme.
What does this change do?