Added System print to while loop
print line to attributes[2]