Why does "if exists" fail with a false positive? The file, "Test.file" in the below code does not exist, yet the script returns true. Why? What am I doing wrong?

set thePath to (path to application support folder from user domain)

if exists thePath &amp; "Test.file" then
display dialog "The file was found!" buttons {"OK"} default button 1
else
display dialog "The was file wasn't found." buttons {"OK"} default button 1
end if
You need to reference a file for the test to function properly.

set thePath to path to application support folder from user domain
tell application "System Events" to exists file ((thePath as text) &amp; "Test.file")


With the conditional:

set thePath to path to application support folder from user domain
tell application "System Events" to exists file ((thePath as text) &amp; "Test.file")
if the result then
    display dialog "The file was found!" buttons {"OK"} default button 1
else
    display dialog "The was file wasn't found." buttons {"OK"} default button 1
end if