Exclude code based on file name and not on class/package name

Closes #120.

Resolves #88.

Reverts and fixes #71.
Merge pull request #124 from michalrus/file-excludes

Exclude code based on file name and not on class/package name