fixed checking file sufix