Speed optimizations: Keep track of the file size while computing SHA-1 digest instead of re-querying the file size of each duplicate file later + buffer size tuning.