init dir tree