Brute force

The main problem is to find a way to add large numbers, because computers can not store large numbers so easily. That's the point of the problem, to find a way to add those numbers. We could use an array to store each digit of each number and add them, but thanks to python and the unifying long integers and integers we can just add these numbers without worrying about memory.

We just need to get the first 10 digits of the additions, which can be done quite easily by converting the number to a string ang get the first 10 characters.

From solution1.py:

def large_sum(filename):
    return str(sum(read_file(filename)))[:10]