readFileAndCountCharFrequency