longline*.txt files contain some text and in some files the text is inserted in an environment as indicated in the filename.
The following script:
\documentclass{article}
\usepackage{listings}
\begin{document}
\input{longline.txt}
\input{longline_verbatim.txt}
\input{longline_lstlisting.txt}
\end{document}
reveals a different rendering of the text:
The actual text contains characters such as _ and the lstlisting and verbatim environments are evaluated as a rescue.
The problem is that the paragraph is not broken down into lines in the verbatim and lstlisting environment.
How to solve the problem?



\inputnecessary in this code example? – Troy Aug 23 '18 at 16:02