já sem to pochopil dřív, jen mi nebylo jasné proč scan do souboru :)
tak jsem si konecne nasel cas a ono to fakt funguje, dik :)