Adding ability to list file

This PR address issue described in : 
https://github.com/kelseyhightower/confd/issues/117

It allows the listing of leaf node.