AppleScript code for determining if file exists