Remove duplicate files for mac/linux