code: def to_text(self, fn:str):
          "Save `self.items` to `fn` in `self.path`."
          with open(self.path/fn, 'w') as f: f.writelines([f'{o}\n' for o in self._relative_item_paths()]f to_text(self, fn:str):
          "Save `self.items` to `fn` in `self.path`."
          with open(self.path/fn, 'w') as f: f.writelines([f'{o}\n' for o in self._relative_item_paths()])
docs: Save `self.items` to `fn` in `self.path`.