Directory tree cleanup