directory tree cleanup