Script to delete files after x days

Have you ever needed to automate the cleaning of a folder that say is used as part of a backup or just as a dumping ground.  Using this script will help you to speed up the cleaning process by deleting files from any folder or UNC path that are older than the specified (x) days.