Gargoyle, the "empty" files were showing up as 1KB even though there appeared to be nothing in them. However, upon further review, there is one blank line in the file that's causing it to be greater than 0 bytes. If I delete that line, then it goes to 0 bytes.

The files are created using redirectoutput. I'll have to look into why it's putting a blank line in there. I think I have an idea.

Thanks for the response.