Skip to main content

File Reader

The File Reader component processes files from a specified local source directory, and pushes the contents to the queue. Processed files are deleted by default.

This component is a simplified version of the From File component. It is suitable for testing or for very simple workflows.

Running the Component

The below steps assume the correct user permissions are in place to read/write/move files.

STEP 1: Import the File Reader component

Using , import the File Reader component

STEP 2: Setup the component configurations in the component card

Bolded fields are required, otherwise default values defined in config.json are used:

Field

Description

Default Value

Source Directory

The directory to retrieve files from.

Print Debug Logs

Enable/disable logging of additional debug information.

false

STEP 3: Start the component and view processed files' contents in the logs

Once the component is started, any file in the Source Directory will be read, and its contents will be pushed to queue. Verify downstream that the contents are being read as expected.

Adapting the Component

If you need additional capabilities, such as extracting messages directly from a file, the From File component provides extended features, including built-in support for HL7 and X12 formats.

If you have a specific workflow in mind that you believe may exceed this component's functionality, please reach out to our support team at support@interfaceware.com. We'll be happy to help.