I am splitting a file into lines using a tokenizer:
.split().tokenize("\n", 1)
However, some of the files I need to process will contain a header line, which will need to be processed differently to the normal lines. Is there an easy way to read the first line, process that, then split the remaining lines?