Use system.io.file to check if there is a file that exists very simple:
BOOL EXIST = System.IO.File.exists (filename);
If you need to judge whether you exist (folder), you can use system.io.directory:
BOOL EXIST = System.io.directory.exists (FolderName);