CDB-1746 implemented new first step that opens the file and, line by line, counts where there is non-trailing newline and removes it. afterwards proceeds as previously with normalization and import
CDB-1746 forgot b file open modifier, stabilizing tests
Merge CDB-1746 into release/2.10.1