relationships file needs to be separately constructed for elements in footnotes and endnotes. unfinished task!