Represent a file tree as  a Polyrex document