Lattice dilation and local magnetic anisotropy in nitrogenated iron-based soft magnetic films