# Tracking and managing file processing

When you add files to a local files dataset, or change the file selection for a cloud storage dataset, Tonic Textual automatically scans the files to identify the entities that they contain.

When you change the dataset configuration, Textual also prompts you to run a new scan. For example, a new scan is required when you:

* Configure added values
* Change the available custom entity types

The file list reflects the current scanning status for the file. A file is initially queued for scanning. When the scan starts, the status changes to scanning. When Textual finishes processing a file, it marks the file as scanned.

When a file needs to be rescanned, a warning icon displays in front of the file name.

<figure><img src="/files/POwHqzaYPM07Vqo3zcc6" alt="" width="375"><figcaption><p>Warning icon for a file that needs to be rescanned</p></figcaption></figure>

As Textual processes each file, it updates the results.

## Pausing the file processing <a href="#file-process-pause" id="file-process-pause"></a>

If needed, you can pause the file processing. To pause the processing, click the pause icon.

The information in the results only reflect the files that are scanned.

For a cloud storage dataset, when you generate output, Textual only includes files that are scanned.

## Starting a scan on a paused file <a href="#file-start-scan" id="file-start-scan"></a>

{% hint style="info" %}
**Required dataset permission:** Start a scan of dataset files
{% endhint %}

After you pause the scan, you can start a scan on individual files.

To start a scan on a file, click the refresh icon for the file.

<figure><img src="/files/BrMzUnI0PAC1XCdYJMGR" alt="" width="91"><figcaption><p>Refresh icon for a dataset file</p></figcaption></figure>

## Downloading logs for files that fail to process

{% hint style="info" %}
**Required dataset permission:** Start a scan of dataset files
{% endhint %}

When Textual is unable to process a file, it displays an error for that file.

To download log files for the failed file:

1. Click the options menu for the file.
2. Click **Download Logs**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/textual/dataset-files/tracking-and-managing-file-processing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
