bug fix, output file name changed to raw.txt