So far, your code is reading in the data from the file.
Try adding some output lines to check what it's doing.

Follow the next step, getting the total value.

(BTW What's in the data file?)