I have this script which compares files in two areas of the disk and copies the latest file over the one with the older modified date.
$filestowatch=get-con
Use Test-Path:
if (!(Test-Path $exactadminfile) -and !(Test-Path $userfile)) { Write-Warning "$userFile absent from both locations" }
Placing the above code in your ForEach loop should do what you want
ForEach