Large sum | using file handling and maintaining summations