[step:Define the unit $u = f/w$ and verify it is holomorphic and nowhere vanishing]On the set $\{|z'| < \delta, |z_n| < r\}$, define
\begin{align*}
u: \{|z'| < \delta\} \times \mathbb{D}(0, r) &\to \mathbb{C} \\
(z', z_n) &\mapsto \frac{f(z', z_n)}{w(z', z_n)}.
\end{align*}
For each fixed $z'$ with $|z'| < \delta$, the zeros of $z_n \mapsto f(z', z_n)$ inside $|z_n| < r$ are exactly $\zeta_1(z'), \dots, \zeta_k(z')$ (with the correct multiplicities), and these are exactly the zeros of $z_n \mapsto w(z', z_n)$. Therefore $z_n \mapsto u(z', z_n)$ extends to a [holomorphic function](/page/Holomorphic%20Function) of $z_n$ with no zeros in $|z_n| < r$, by the removable singularity theorem in one variable.
To verify joint holomorphicity of $u$, we express it via a contour integral. For $|z_n| < r$:
\begin{align*}
u(z', z_n) = \frac{1}{2\pi i} \oint_{|\zeta| = r} \frac{f(z', \zeta)}{w(z', \zeta)} \cdot \frac{1}{\zeta - z_n} \, d\zeta.
\end{align*}
This representation is valid because on $|\zeta| = r$, both $f(z', \zeta) \neq 0$ and $w(z', \zeta) \neq 0$ (all zeros of $w$ in $z_n$ lie strictly inside $|z_n| < r$, and $f$ is nonzero on the circle by Rouché). The integrand is continuous in $(z', z_n, \zeta)$ and holomorphic in $(z', z_n)$ for fixed $\zeta$, so differentiation under the integral sign gives $u \in \mathcal{O}(\{|z'| < \delta\} \times \mathbb{D}(0, r))$. Since $u(z', z_n) \neq 0$ for all $(z', z_n)$ in this neighbourhood (as $f$ and $w$ have identical zero sets), $u$ is a unit.[/step]