delete lines as well
change catPaths signature