\documentclass[../../main.tex]{subfiles}
\begin{document}
\section{The second section}
You don't always think it be like this, but it do.
\end{document}
