Deleting extra and duplicate files