if ( -e $osmoutputfile.".osm" ){ print "gefunden\n"; } else { print "nicht gefunden\n"; }