\documentclass[12pt]{article}
\usepackage{epic,eepic}
\typein[\Fname]{Enter File Name to be input}
\begin{document}
This is an example for latex2e (please remember that you have to modify
qfig-set.dat so that the output will be compatible with latex2e see
qfig.doc for more details). \\
Here, I put the figure,
\begin{figure}
\begin{center}
\input{\Fname}
\end{center}
\caption{Test of eepic.sty}
\end{figure}
before this line.
This is an example.
\end{document}