Added reading from a config file for the output