added sample code to retrieve all json files in a directory tree