I use a PHP script that records the number of clicks on a weblink I want to monitor. Every so often I want to zero (or empty) a number of files (all are .dat files) to start the counting afresh. Is there a way to automate this using maybe Automator or AppleScript?