print "Found textfile!" if () = <$dir/*.txt>;