Directory tree loading and saving, first cut.