if exists file
(
(
parent folder of regapp "BESClient.exe" as string
)
& "\ComplianceWhitelist\ComplianceWhitelist.txt"
)
then
(
modification time of file
(
(
parent folder of regapp "BESClient.exe" as string
)
& "\ComplianceWhitelist\ComplianceWhitelist.txt"
)
)
as string else "Primary Whitelist File Missing"
if exists file ((parent folder of regapp "BESClient.exe" as string) & "\ComplianceWhitelist\ComplianceWhitelist.txt") then (modification time of file ((parent folder of regapp "BESClient.exe" as string) & "\ComplianceWhitelist\ComplianceWhitelist.txt")) as string else "Primary Whitelist File Missing"