Remove duplicate and unwanted folders