check first  duplicate;
if all data in line is empty ,stop read.