After a document is saved, how can I insert a file path to the document

When I am preparing a single or multiple-page document and save it, I would like to add the file path to the footer on the last page.

There are three steps to do:

  1. hit →F11 and create a additional PageStyle ( lets call last_page )
  2. On previous Page (not in Footer nor Header ) →insert→manual Break→Pagebreak...with Pagestyle "last_page"
  3. Finally in Footer last_page →insert→Fields→more Fields→→Document→Filename→→ <your choice on the Right>