raw.txt is only written once now, instead of per run