added unigram frequency in file fn