it calculate % use of each character in a text file