paths = list() for file in pathlib.Path(rootPath).rglob("alpha-1.901/isochrones.txt"): paths.append(file)