change character to accept file input from tokenizer.
remove hardcoded input file, change to recieve file input as class parameter.