getallpaths only latest, group by path_string