def getAllPaths(paths, xmlObject):
 for archivableObject in xmlObject.archivableObjects:
  paths += archivableObject.getPaths()
 return paths

def getAllPaths ( paths , xmlObject ) : for archivableObject in xmlObject . archivableObjects : paths += archivableObject . getPaths ( ) return paths
get all paths .