added a way to specifiy configuration file path.