snapshot command now simultaneously calcs hashes and updates target file