Remove unwanted directories