eliminate bifurcation of 'resources' vs 'directory'