Added new excludes option to make it easier to exclude files/folders based on glob patterns.