updating printTo in each of AIF and MIF classes.