Added code to calculate tfidf for each document and output the results to a file.