getting rid of and rewriting csv file processor method