Remove of unnecessary directories