yeah I was trying to avoid having to run the parser twice or resorting to stringio as I forgot that we're restricting the size of the file elsewhere.