it's when it reaches file_str_read(filehandle,speechbank[i].textstr); but ONLY the 2nd time around the loop :S
EDIT: I changed while (i < maxentries) to while (i < maxentries)-1 when that happened. When I changed it back it did it the first time around the loop!