Inserting Text in Headers and Footers
Enter Header / Footer edit mode by selecting Header and Footer from the View Menu.

Then whatever you enter in the Head or Foot box will appear on all pages of
your document.
If you select Insert Auto Text you have the option of selecting things like
the creation date or
the file name and path.