Exactly why the various three letter agencies are hovering up all the digital data.
And if the case is somewhat sketchy, with a lot of circumstantial evidence, if they can pile on the flimsy evidence to overwhelm the jury they will. And of course that works the other way too, if there's good evidence that might introduce doubt or exonerate the defendant, if the defense doesn't have a good discovery mechanism, it will never be known.
If you've ever served on a jury you know that the DA will always have multiple charges against the accused. Some of them might not much of anything to do with the major reason for prosecution, but as long as the jury finds the defendant guilty of something, the DA counts it as a win.