I was wondering if someone could help me with a script that will:

1. Run when safari has downloaded a file to my downloads folder
2. Check the folder for a .torrent extension
3. Then run a script I've written in automator.

All the applescript really needs to do is just check that folder every time safari downloads a file. I'm just not sure how to write this.