JT, as far as I know, this is my only module using the razor engine. A new temp file is created every 2 minutes, which fits as I have a task that runs every 2 minutes. And when I try to delete the files a vast majority are locked. Maybe it's something in the script?