Remove unused directories