\documentclass{article}
\usepackage[hypertex]{hyperref}

\begin{document}

\section{First Section}
\label{sec:1}

This is the first section of file2.
\newpage

\section{Second Section}
\label{sec:2}

This is the second section of file2.
\end{document}
