Magnetoresistance in granular films formed by CoFe and phase change material