Add puppet function that get file parents