Read exclude patterns from a file and remove all hardcoded exclude patterns except .csearchindex.