analysis.txt correctly created