Patch to exclude path or file.