Engine to compress and store multiple versions of text in a file