Read a file and returns Sum of digits comprising a number