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. 
Lets change the function var to filePath so we can keep the imports clean.