If you need to know whether file is, you should use "Test-Path" cmdlet in PowerShell.  It returns "True" if the file or directory exists and returns "False" in other case.

There are some more good things in this cmdlet. Write "man Test-Path" in your PowerShell console and read about it.