Hi,
What yahoo file would be?
If you are pertaining to Yahoo Messenger, it is hard to block it on iptables due it also uses port 80, also there are so many ports that ym uses. You can use squid to block it, I know there is a topic here under this subject that you can find helpful on blocking ym.