Updated integrity check: added option to compare two integrity files.