Implement --names-exclude switch