public CacheExtractionInfo(CacheFile cf, DatumIndex tag_datum, CacheExtractionArguments args)
		{
			var bd = Program.GetManager(cf.EngineVersion);
			Database = bd.CreateCacheTagDatabase(cf.CacheId);
			DatabaseErrors = bd.CreateErrorTagDatabase();

			root_definition = cf.Index.Tags[tag_datum.Index];
			Reset(root_definition);

			Arguments = args;
			Arguments.CreateOutputDirectory();
		}
		public void Reset(CacheIndex.Item new_definition)
		{
			definition = new_definition;
			Database.SetRoot(definition);
		}