fix ifile helper