in reply to using a regex to determine if a string is the start of the FILE
qr/(??{$.==1 ? '"99","END"' : "\n\n"})/ [download]