private void Init(TransHelper.TransEnv env, string filename) { RegisterStopwatches(); foreach (var s in env.Stopwatches) { this.RegisterStopwatch(s); } Transformers.init(env); Transformers.processPipeOptions(env); options = ((VccOptionWrapper)env.Options).VccOptions; this.BvdModelFileName = options.SaveModelForBvd ? AddOutputDirIfRequested(Path.ChangeExtension(filename, "model")) : null; }