print "this is a file\n" if -f; print "this is a directory\n" if -d;