doc/examples: add directory listing example