output might be a directory, e.g. LevelDB