Added support for patching any file pattern.