# File Save Content

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-files/file-save-content
>
> Saves the content of a variable or control to a file, overwriting it, with UTF-16 LE, ANSI or UTF-8 encoding.

Saves the content of a file.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

* **File Name** _\<string> -_ The name of the saved file. The user should indicate the full path of the file.
* **Value** _\<unquoted string> -_ The control or variable where the data that the user wants to save is stored.
* **Encoding** _\<unquoted string> -_ Indicates the file encoding to use.
  1. Unicode UTF-16 LE (each character uses 2 bytes)
  2. ANSI/BINARY (each character uses 1 byte)
  3. Unicode UTF-8 (each character uses 1 byte to 4 bytes)
* **Coded** _\<unquoted string> -_ Defines if the saved 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.

:::info
In Unicode UTF-16 LE, the BOM (Byte Order Mark) 0xFEFF will be added to the beginning of the file.
:::

:::info
In Unicode UTF-8, no BOM (Byte Order Mark) will be added.
:::

:::warning
If the file already exists, its contents are overwritten.
:::
