The wall coercivity of soft magnetic films