fixed more with filetoprogram
fixed more with filetoprogram