enumerate directories when creating a root metadirectory