File the said evidence alongwith an affidavit u/s 65b of th evidence act . Why are you worrying about being charged under IPC . If the allegations you are levelling are true , then the question of you being charged with perjury does not arise
In my view the SMS & internet files which you intend to produce may not suffce as Concluding evidence in the matter. If you are able to adduce any other evidence than the case may be more strong. As regard IPC provisions if the charges are strongly established than I think you should not worry.
If there are SMSes then there would be calls made and received too. Get the call records preserved by filing a 91 application this act would also help you in your divorce case as you'll be able to prove the affair and illicit relationship of your wife.
Secondly, file the evidence you have with you alongwith an affidavit of 65b (Evidence Act). No boby would charge you with perjury if these allegations are found to be true.