Removing incorrectly placed duplicate files