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.