# tFileInputProperties

Reads a text file row by row and separates the fields according to the model key = value.

## tFileInputProperties Standard properties

These properties are used to configure tFileInputProperties running in the Standard Job framework.

The Standard tFileInputProperties component belongs to the File family.

The component in this framework is available in all Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| Schema and Edit<br>Schema | A schema is a row description, it defines the number of fields to be processed and<br>passed on to the next component. The schema is either Built-in or stored remotely in the<br>Repository.<br><br>For this component, the schema is read-only. It is made of two<br>column, *Key* and *Value*,<br>corresponding to the parameter name and the parameter value to be<br>copied. |
| File format | <ul> <li> <p>Select from the list your file format, either: <span>.properties</span> or <span>.ini</span>.</p> </li> <li> <p> <span>.properties</span>: data in the								configuration file is written in two lines and structured according								to the following way: key = value.</p> </li> <li> <p> <span>.ini</span>: data in the configuration								file is written in two lines and structured according to the								following way: key = value and re-grouped in sections.</p> <p> <span>Section Name</span>: enter the section								name on which the iteration is based.</p> </li> </ul> |
| File Name | Name and path to the file to be created and/or the variable to be<br>used.<br><br>For further information about how to define and use a variable,<br>see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables).<br><br>Information noteWarning: Use absolute path (instead of relative path) for<br>this field to avoid possible errors. |
| Calculate MD5 Hash | Select this check box to verify that the file to be processed has<br>been correctly downloaded. |

## Advanced settings

| Properties | Description |
| --- | --- |
| Encoding | Select the encoding type from the list or select Custom and define it manually. This field<br>is compulsory for DB data handling. |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at a<br>Job level as well as at each component level. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | NB\_LINE:<br>the number of rows processed. This is an After variable and it returns an integer.<br><br><br>ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | Use this component to read a text file and separate data according<br>to the structure key = value. |

**Related concepts**

* [Reading and matching the keys and the values of different .properties files and outputting the results in a glossary](https://help.qlik.com/talend/en-US/components/8.0/properties/tfileinputproperties-tmap-tmysqlinput-tlogrow-reading-and-matching-keys-and-values-of-different-.properties-files-and-outputting-results-in-glossary-standard-component-this)