I am new to this so be gentle!

I have successfully managed to create an icon on the springboard using a lot of the guidance I found on this website, however I am having difficulty in getting it to run the script that I want.

Basically I have a list of files (with full path lengths) in a txt file, lets say called filelist.txt
What I am trying to do is to have it such that pressing the springboard icon will look at this filelist and delete those files that it sees, a sort of panic button if you like ( and no it is not porn before anybody asks!)

I would be grateful for some hints and suggestions at the best way to go about this, or if anybody has some examples of similar scripts that I could follow.