util.io: mainfile change to min version