Just to add to that. Using MPF, you can be as granular as to allow IM traffic whilst blocking file-transfers.
The link mj11 provided is a good starting point. Post your MPF config (class-maps/policy-maps) if you have any problems.
John
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: