you could do an array

$found =0
$file[0]='path\file'
$file[1]='path\file'
$file[2]='path\file'
$file[3]='path\file'
$file[4]='path\file'
for each $try in $file
if exist($try)
$found=$try
endif
next
if $found
? 'file is '+$found
else
? 'File not found'
endif
_________________________
How to ask questions the smart way <-----------> Before you ask