File tokenizer