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.
- filemod: Provide file modification times, and compare them
- fink: The LaTeX2ε File Name Keeper
- manpage: Man pages in LaTeX
- acmproc: Style option for ACM proceedings