Adding up numbers in a file



Hi,
In a shell how would I add up a set of numbers in a file.
For example if I had a file holding...

filename
------------
10
15
7
2

How would I derive the total of those numbers, 34?

Thanks
Adam.

.