Removing unwanted directories