Fix #880: Optimize file loading when looking for duplicates