Forgot to make the program iterate over all the lines in the file instead of just the first 10000