Seriously Dobby,

Silencio!

Now be quiet if you have nothing to say.

And I agree that Bandwagoning Filch isn't really the answer, although hopefully it'll get him talking.