affiche function
spit into files