Analyzes text file, returns line count, letter frequency, etc