if (Test-Path -Path .\input.txt) { write-host "File input exist" } else { write-host "File input doesn't exist" }