private Func <Stream> CreateOutputStream(string name, OutputType type) => () => streamFactory.CreateOutputStream(name, type);