FileExists Method
Checks whether a vault item exists.
function FileExists(FileName: String): Boolean;
Remarks
This method checks whether a vault item (file, directory, symbolic link, or alternate stream) with the specified FileName exists in the vault. If the specified vault item exists, this method returns True; otherwise it returns False.
The value passed for FileName must be a vault-local absolute path.
Note: This method can only be called when Active is True.