I encountered the following problem in L. Gasínski, N.S. Papageorgiou - Exercises in Analysis - Part 1: (2.63)
"Suppose that $X$ and $Y$ are two topological spaces and $f : X \longrightarrow Y$ is a closed function such that for every $y \in Y$ , the set $f^{−1}(y) \subseteq X$ is compact. Show that for every compact set $K \subseteq Y$ , the set $f^{−1}(K)\subseteq X$ is compact."
The proof given uses nets. Is there an alternative, nice proof that uses either ultrafilters, open covers or the finite intersection property characterization of compactness? I'm stuck where I should use the closedness of the map.