Allow out_file to be alternatively not generated