make textDirs its own property in package