Add config file support.