When you need the title of the document importing into a document, you can use the variable <$filename>.
This is useful as you can have a template that changes its name with the name of the file.
However, the variable always writes the document name with the file extension (for example help.fm) making the variable useless.