import term frequencies file in MongoDB
calculate TFIDF of a term