Add getopt() calls to allow passing of config file name.