hiding behind one of the largest barrels bilbo discovered the trapdoors and their use , and lurking there , listening to the talk of the king 's servants , he learned how the wine and other goods came up the rivers , or over land , to the long lake .