--- title: "CheckForPairingFile" slug: "check-for-pairing-file" updated: 2026-08-06T13:52:38Z published: 2026-08-06T13:52:38Z canonical: "docs.lobstersoftware.com/check-for-pairing-file" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # CheckForPairingFile ## Description **Class name:** com.ebd.hub.datawizard.plugin.cron.CheckForPairingFile **Configuration:** Path to properties file. This file function (scheduled Input agent → "Other/File function class") looks for control files in the cron job folder that have the same prefix as the files matching the file pattern and the suffix that is specified in the configuration file. The path and the name of the configuration file have to be entered in the input field below the class name. See also [Options](/v1/docs/en/profiles--entry-tab-2-options) and [Phase 1](/v1/docs/en/profiles--tab-2). Only if a matching control file is found, the cron job starts. Only the cron job file is processed, but not the corresponding file with the different extension. **NOTE:** If the file pattern of the cron job finds more than one file, only the ones with matching control files are processed. Not the other ones. See examples below. This class supports SMB or local filesystems only! ## Parameters | Parameter | Description | | --- | --- | | suffix | Specifies the file extension (without a dot) of the control file. | | append.suffix | If the parameter is not present or has the value "false", the behaviour described above applies. If the parameter has the value "true", then the value of the "suffix" parameter is appended to the complete input file name (with original suffix) to generate the name of the expected control file. See examples below. | | delete | ("true" or "false") "true", to delete the control file after a job has been created. | ## Example Let us assume the file pattern "*.txt" and the following configuration file. ```sample suffix=csv delete=false ``` If the cron job folder contains the two files *test.txt* and *test.pdf*, no job will be started. The control file is not deleted. If the cron job folder contains the two files *test.txt* and *test.csv*, a job will be started and the file *test*.*txt* will be processed. The control file *test*.*csv* will not be processed and not deleted. If the cron job folder contains the files *test.txt*, *something*.*txt* and *test.csv*, a job will be started and the file *test*.*txt* will be processed. The file *something*.*txt* is not processed and the control file *test*.*csv* will not be processed and not be deleted. There would also have to be a file *something.csv* in the directory so that the file *something*.*txt* would be processed. Following an example of how to use parameter "append.suffix". Please note the dot in parameter value "suffix". ```sample suffix=.csv delete=true append.suffix=true ``` If the input agent directory contains the two files "test.txt" and "test.txt.csv", a job is started and the file "test.txt" is processed. The control file "test.txt.csv" is not processed but deleted. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data).