protected function shouldReadNextRow($currentRowData)
{
$hasSuccessfullyFetchedRowData = $currentRowData !== false;
$hasNowReachedEndOfFile = $this->globalFunctionsHelper->feof($this->filePointer);
$isEmptyLine = $this->isEmptyLine($currentRowData);
return !$hasSuccessfullyFetchedRowData && !$hasNowReachedEndOfFile || !$this->shouldPreserveEmptyRows && $isEmptyLine;
}