inputfile – Input LaTeX files, remembering the file name
The package keeps the file name as the file is input; the name of the current file may be retrieved using the command \inputfilename.
Maybe you are interested in the following packages as well.
- unixman: Typeset to look like Unix man output
- filemod: Provide file modification times, and compare them
- changes: Manual change markup
- manpage: Man pages in LaTeX