I usually see costly and large filters at the input stage of switch mode power supplies. Isn't the AC signal already filtered by the large capacitor (the 100\$\mu\$F one in this example) after the bridge rectifier? What is the necessity of such an elaborated filter network encircled in red?

![enter image description here](https://i.stack.imgur.com/XHLtO.png)