Tokenizer can read/write to std in/out