I've been working on a small bank-like program that writes to a file like this:

Opening Balance >>>>> $546.50
Deposit >>>>>> $52.50; New Balance: $599.00
Withdrawl >>>>>> $49.00; New Balance: $550.00

The writing to the file part works great, but when I re-open the file, I need to somehow grab the balance from the last time, otherwise I just start printing the last spot in memory when I call the function to display the balance (obviously). I am not really great with file manipulation yet (still learning a lot). Is there anyone who can give me an idea on how to grab the balance from the file when I open it again?

Thanks,
Dustin