Lettercase Percentage Ratio

A program to find the percentage ratio of lowercase and uppercase letters in line below. Solution to CodeEval challenge.
INPUT: a path to a filename. Each line of input contains a string with uppercase and lowercase letters.