in reply to Comparing large files

Hmm, not that easy... If your files are 10 MB or probably even 100 MB, then hash lookup is definitely the best solution. If your files are dozens of GB, then sorting them to compare them is the only solution I can think of. Between these two sizes, it is your draw.