Huatek interview question

write a code to summary all char in one file?