# file_read

Read the contents of a file.

```rhai
file_read(path: &str) -> String
```

## Examples

```rhai
let content = file_read("/etc/hostname")?;
print(`Hostname: ${content}`);
```

```rhai
let config = file_read("/app/config.yaml")?;
if config.contains("debug: true") {
    print("Debug mode enabled");
}
```
