we entered the valley and proceed to follow the path by the river up the vale along a well-worn way until we caught up with him at the rock wall in which was the cave out of which the river was flowing .