Now accepts configuration file.