Files.FileExists(string, string = 0) shared Check if the file or directory exists. Arguments path string Optional pathId string 0 Returns boolean true if the file or directory exists, false otherwise. Examples Files.FileExists – Check if the file or directory exists.