my $dir = "/path/paths"; my $file = "myname.doc"; print "Found '$dir/$file'.\n" if -f "$dir/$file";