In this case, dataFile is not closed properly since all coming `dataFile.Close()` lines have been removed. Shouldn't we move the defer from line 616 to line 623 like it was initially?