what is the work of fileexists function here ?
Your questions would be better asked on a vbscript forum.
Although I agrre with m wolf, the method checks if the file represented by filename variable (with path included) exists. It response true if exists and false if doesn't exist.
Retrieving data ...