Rewritten --exclude, --only to match files instead of directories

Because no way to exclude templates in one app but different folders