# readFileText Canonical ID: `files.readText`. ```text readFileText(slot, relativePath) ``` Reads UTF-8 text, at most 1 MiB, from an explicitly selected file or directory. Use an empty relative path for a file slot. Directory paths use forward slashes and stay within the selected root. A slot name alone grants no access. Returns a Map with `ok`, `status`, `value` and `error`. Check `ok` before using `value`; denial or an unavailable host is a structured failure. Requires Creator Pro or its technical trial for IDE/CLI run and build. Available on desktop, CLI and supported native exports; not in the public playground. Source remains editable in Learner. Generated apps have no Pliro licence check. ## Call example See the [advanced application guide](../guides/advanced-applications.md) for declarations, explicit host permissions and complete examples. This call assumes the required permissions; `handle` means the `value` from a successful open operation. ```text readFileText("input", "") ``` [Built-ins](README.md)