> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telophasehq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File

> Read from files or directories.

Tail or batch‑read files into Tangent.

***

## Schema

<ParamField path="type" type="string" required>
  This should be set to `file`
</ParamField>

<ParamField path="path" type="string" required>
  Filepath to source data
</ParamField>

<ParamField path="decoding" type="string">
  Specifies how incoming payloads are decoded before being sent to your plugin.\
  See [Decoding Options](/configuration/sources/decoding) for details.
</ParamField>

***

## Example

```yaml theme={null}
sources:
  local_files:
    type: file
    path: ./data/*.ndjson
```
