Iterate on file ancestors starting from root, ending on and including the file itself.
See Implementation
Iterate on file ancestors starting from root, ending on and including the file itself.