support txt output