Added ability to read configuration .json files from a directory.