Modified log_wordbag to run whole analysis and file production with unigram and bigram tokens