Changed to make output file, not printing in stdout