As far as I can see, that is not in your code. What I see in your second last reply is
Code:
If Exist($File)
  Exit
EndIf