Switching from logging based output to file output (for results)