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.
- currfile: Provide file name and path of input files
- fink: The LaTeX2ε File Name Keeper
- mversion: Keeping track of document versions
- manpage: Man pages in LaTeX