at a point where the defile was in almost total darkness through the sheer height and steepness of its sides , they came upon a huge wooden gate , next to it a number of steps had been cut into the rock-face to act as a ladder .