I am using the following while loop to read through the lines in a file
while (fscanf(fp, "%m[^\\n]s", &line) == 1) { char c;