exclude files based on pattern