[bin] allow a config file to be passed in