maybeload – Prevent reloading of files
Defines a command \thisfileis, which will become \endinput if it's called for a second or subsequent time with a particular file name.
Maybe you are interested in the following packages as well.
- automagic: Automagic numbering in Plain TeX
- lintex: Tidy up after a TeX run
- texfot: Filter clutter from the output of a TeX run
- label-pln: Print address labels in three columns