chunk data structure
updated listtokens, added file read to createtree