Create a method to calculate the frequencies of the characters in a file