Add collision avoidance and counter update
Add counter to state config ad update counter
Renamed post to process
Hardened __contains__
Add guard statements and update counter
Close cache when done
Harden archive file management

Open the tar archive once, instead of every time.
If the archive tar file cannot be opened, rename it and create new archive
Drop dodgy data
renamed method