set conffile and output_dir_name from configuration