Don't use 'patterns' as the file type, explicitly specify the file type to the file processor.