make ``file_factories`` a class property on directory storage.