\documentclass{article}
\usepackage{latex-macros/course}

\begin{document}

\typeout{}
\typein[\file]{Enter name of problem file: }
\askaboutsolutions
\input{\file}

\end{document}