Mark routing based on file type AND size

How would i mark routing for EXE files that are 10MB or more?
Possible?
So the final result will mark routing only for files that are .exe AND the exe file size is 10MB or more.
My intention is to actually block the above 10Mb exe files. But mark routing is better as i can redirect to my webserver for a notice

You can’t re-route traffic in the middle of a connection.

You can’t reliably tell how many bytes a connection is going to transfer until you’ve seen more bytes than your threshold in that connection.

The canonical solution to what you’re trying to do is to use a dedicated proxy.

ok thanks for the info. i’ll be trying to use two proxies now. one for browsing and the othe for downloads. hope it works!