That IS the real purpose. Read 2 files, same size, very similar content. Find differences between files, extract those differences (from file 2, position and value). Put those differences in another file. Just like Total Commander > Compare files, but instead of showing the differences, extract & save them.