Hi,

My app lets you download backup files from the Internet and save them locally.

I want the app to be able to automatically delete old backups though. What's the best way to do this?

So if I allow the user to store five files named:

backup-03-03-2009.zip
backup-04-03-2009.zip
backup-05-03-2009.zip
backup-06-03-2009.zip
backup-07-03-2009.zip

When backup-08-03-2009.zip is downloaded it should delete backup-03-03-2009.zip and so on.

Any tips/advice welcome!

Thanks

Simon