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
The standard way to see if a file exists is with the Test-Path cmdlet.
Test-Path
Test-Path -path $filename