Bob,
I am new to this process. Can you give me an example of this code as setup in a custom function where I test for an existing file and delete it before running a Output To Function. I tried to create the module for this purpose an could not get the procedure to debug.