The key , which he had not forgotten to put in his pocket , opened the doors one by one , and he walked through a number of halls and corridors , till he met a beautiful and richly-dressed young lady who started back in surprise at the sight of him , and exclaimed , ` Oh , sir , how did you contrive to get in here ? '