Adding support for excluding files.

It could be useful in some cases.