Write Viterbi output of plasma into a file