Hashcheck for archive files, fix purge archives
Run purge only if needed