adding csv handling to tfidf