Fixing duplicate files