Set output to file, rather than system.out