Depends if you're upgrading from Vista or XP. If you're upgrading from Vista, you can upgrade to Windows 7 and it should allow you to keep your files. If you're upgrading from XP, you'll have to back up your files and then reinstall your programs afterwards.
ack-ack