How to hide files from the Solution Explorer

I developed CustomProject based on MPFProj.
My project template contains files that I want to hide from Solution Explorer. (Assume that All the files with specific extension should be hidden)
However those files logically must be included in the project system
How can I do it easily?
Thanks,
Aviram.