while read line is so slow