SafeShred provides support for AppleScript for its file shredding functionality. The function to shred a file are:
shredFile: shred a file
shredFile reference -- the object for the command
at international text -- The file to shred should follow, quoted
Result: boolean -- the reply for the command