Which specific rows of the attached input file are giving you these problems?