Bugfix for copyright check and simplified way to exclude files from check.