Memorize one file, scan the other.