Python code to detect duplicate files in multiple folders