I do something similiar, however I just use .FileExists to see if the file is has been created and if not simply reload the page after 5 seconds so it checks for the file again. This works fine for me and below is the code I use.
Set fs = CreateObject("Scripting.FileSystemObject")
If fs.FileExists("c:\physicalpathtofile\myfile.txt") Then
' the file exists....
' so start processing the file....
else
' the file does not exists so....
' wait a few seconds and reload this page....
End If
I hope this will work for you. You shouldn't need to refresh the folder as asp will actually check for the file at the time the code is run.