simple python app to parse file and count all words in file