Before, it summed 2 files to write the result.
But I had to modify it to be able to sum partial std. So I created 3 functions:
-addToPartialResult with the previous code
- addWithoutPartialResult for the first file
- divideUncertaintyResult for the last step