Redirected the print config output to the ouput file