If output file not given, dump to screen