I am reading a book on covering maps in Bourbaki-style with the following definitions:
A map $f:X\to Y$ is separated if for every $x,x'$ in the same fiber, there exist open disjoint neighbourhoods of $x$ and $x'$.
A map $f:X\to Y$ is proper if every filter $\mathcal{F}$ on $X$ such that $f(\mathcal{F})$ converges to $y\in Y$, admits a cluster point $x\in f^{-1}(y)$.
Given $f\colon X\to Y$, $g\colon Y\to Z$ such that $g\circ f$ is proper and $g$ is separated. Prove that $f$ is proper.
Let $\mathcal{F}$ be a filter on $X$ such that $f(\mathcal{F})\to y$, then $gf(\mathcal{F})\to g(y)$, so since $gf$ is proper, there exists a cluster point in $f^{-1}(g^{-1}((g(y)))$. However, I need to prove there exists a cluster point in $f^{-1}(y)$. I need to use separatedness of $g$ here somewhere, but I am new to filters and I do not see how I can use this here.
Any clues? Any help is appreciated, thank you!