sub-directory -> sub-dictionary?