---
title: files
url: /docs/esc/environments/syntax/reserved-properties/files/
---
The `files` reserved property contains values that should be written to temporary files. For example, [`esc run`](/docs/esc/cli/commands/esc_run) writes the contents of each property in the `files` property to a temporary file and exports the file's path in the named environment variable that is accessible to the command to run.

## Properties

| Property | Type              | Description                                                       |
|----------|-------------------|-------------------------------------------------------------------|
| name     | string or binary | The contents of the temporary file whose path will be exported in the environment variable `name`

## Example

```yaml
values:
  files:
    GREETING: Hello, ${context.pulumi.user.login}!
    BINARY:
      fn::fromBase64: ...
```

### Evaluated result

```json
{
  "files": {
    "GREETING": "Hello, user!",
    "BINARY": ...
  }
}
```

### Using `esc run`

```console
$ esc run default/greet -- sh -c 'echo ${GREETING} & cat ${GREETING}'
/tmp/tmp.iBApHfcsJ1
Hello, user!
```

