You can check the existence of a file with the Test-Path command:
Test-Path
Test-Path -Path C:/Path/To/File
The command will return a boolean.