next
}
#now close the file to avoid leakage
close(thisfile)
# Print the previous lines and start printing
print firstlines
printing = 1