If you only need to check if a file exists use from File I/O>>Advanced>>Access Rights function. Then check for error 7. In this case the file or the path is missing. You can also use the Open File function but if the file exists it will be opened and you need to close it.
Another way is to use the List Directory function. You will get error 7 if the directory is missing otherwise you will get an array of filenames which can be empty if no files are in it. This is usefull if you plan to give your files consecutive numbers. Sort this array and you will get the name of the file with the highest number. This is more effective than going through a loop and checking each file.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions