public virtual void RemoveIndexOutput(IndexOutput @out, string name) { lock (this) { OpenFilesForWrite.Remove(name); RemoveOpenFile(@out, name); } }