make directory hierarchy