Working cleanup script for the duplicate files