Add support for setting configuration file path.

I have added the support for setting configuration path, because I want to use the feature now. Thanks.