public IDataParser <TModel> UpdateCells(IEnumerable <CellTemplate> cellTemplates, bool keepDocumentsOpen = false) { if (!this._fileStreamList.Any()) { throw new DataParserException("Use Bind method before extracting data from file or stream"); } foreach (var stream in this._fileStreamList) { using (var document = SpreadsheetDocument.Open(stream, false)) { _dataWriter.UpdateCells(stream, cellTemplates); } } return(this); }