\def\hi{hi}

\include{\hi/test.tex}

\lstinputlisting{jkhdfkjlhsdfkjsdhfk}