use a config file to set output, nbworkers and data file