catchfile
A file into a macro.
Loading
\usepackage{catchfile}Built into mLaTeX. Loading it is accepted and reads nothing; what the package does is mLaTeX's own work, and any command of it that mLaTeX does not define comes from the glossary.
Commands
\CatchFileDef, \content.
Example
A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:
\documentclass{article}
\usepackage{catchfile}
\begin{filecontents}{data.txt}
Caught text.
\end{filecontents}
\begin{document}
\CatchFileDef{\content}{data.txt}{}The file holds: \content
\end{document}Loading mLaTeX