Remove dead code and return callback in identical files during checksums