# Read Lines

This activity opens and reads all the lines of a given text file and closes the file.

### Input

* **Filename:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) <mark style="color:red;">`Required`</mark>\
  The full path of the file that is to be read.
* **File Encoding:**\
  Input file encoding. The available options are.
  * `utf-8 (default)`

### Output

* Result:[`IList Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#ilist)\
  Stores a list of text lines read from the given file as [String ](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)type
