> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/documentation/actions/group-files/file-read.md).

# File Read

Read data from a specified text file.

Action available for the following operating systems:

<figure><img src="https://1614058754-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ5vDGuBZwhJDeu5Rq7Wt%2Fuploads%2Fgit-blob-7a7ab3f3fc74afcaab1e0810f419316203cc49e1%2F01_Supported_OS.png?alt=media" alt="OS Supported: Android, iOS, Win, Win32"><figcaption></figcaption></figure>

### Parameters

* **File ID** *\<numeric> -* The identification to the file that the user wants to read. The File ID used in a previous [Open File](/kalipso/documentation/actions/group-files/file-open.md) action.
* **Target** *\<unquoted string> -* The control or variable to save the readed data from file.
* **Details** *\<radiobox>*
  * **Read Chunck and Length** *\<numeric> -* If the user wants to read a chunck of data from the file, he must indicate the number of characters to he wants to read.
  * **Read Line and End Line Chars** *\<string> -* If the user wants to read a line of the file, he must indicate the end characters of each file line.
* **Coded** *\<unquoted string> -* Defines if the readed data is being coded or not. If user chooses YES to this parameter, values between '<' and '>' are considered to be the ASCII value and will be converted to the respective char, otherwise nothing happens.

{% hint style="info" %}
When the end of the file is reached this action generates an error. In this case, the ERRORCODE can be compared to -512 to know if the error is due to an end of file.
{% endhint %}
