Token/tokendebug working for single file, dumping documents and lexicon