Starting changes for single-file global dedupe.