Suppose $f : G \longrightarrow \mathbb C$ is analytic and define $\phi : G \times G \longrightarrow \mathbb C$ by $\phi(z,w) = [f(z) - f(w)] (z-w)^{-1}$ if $z \neq w$ and $\phi(z,z) = f'(z)$. Prove that $\phi$ is continuous and for each fixed $w$, $z \mapsto \phi(z,w)$ is analytic.
I have proved the continuity of $\phi$ in $G \times G$ which is pretty easy and analyticity of the map $z \mapsto \phi (z,w)$ in $G \setminus \{w\}$ for each fixed $w$ in $G$. At $w \in G$ I don't find any direct approach to prove that the map is analytic at $z=w$ for each fixed $w \in G$. I first show that $\int_{\partial T} f(z)\ dz =0$ for any closed triangle $T$ in $G$ (by using Goursat's theorem for the function analytic except at one point in a region) and then by Morera's theorem it has been concluded that the map is indeed analytic in $G$.
However I don't like this process anyway. I think there is an elegant way to prove it directly though I have failed to find it inspite of my effort. Please help me by giving some suggestions.
Thank you in advance.