publish the sub directory as public field