Generate SIR.TXT file