TFile.Exists

function Exists(const Source: string): Boolean Source: a path to a file to check access for Result: Whenever file exists or not

Description
This function checks whenever file pointed by Source exists on hard drive. If the path is out of script's sandbox, EAccessViolation exception is thrown.