# Creating and Reading Files

## Overview

In the BuildingPro Suites system, you can create and read files using the **`eliona.OpenFile()`** method in your scripts. This method internally uses the Python function **`open()`** and behaves identically.

{% hint style="info" %}
**Python `open()`**: For all details on using `open()`, read the [official Python documentation](https://docs.python.org/3/library/functions.html#open).
{% endhint %}

#### Example:

```python
def UserFunction(id, eliona):
    f = eliona.OpenFile("example_file.txt", "w")
    f.write("This is a test content.\n")
    f.close()
```

If you want to use `open()` directly, remember to specify the full path correctly.

## Store Files in the SSR Pod and Use them from Scripts

It is possible to store files (Excel, TXT, etc.) in the SSR pod under `/ssr/user/` and access them from the Script Engine.

```python
f = eliona.OpenFile("example_file.txt", "w")
```
