> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/s3-file-output-cp/options-s3-file-output/file-tab.md).

# File tab

![File tab in S3 File Output](/files/lYdj3cNIt6ErCvliEs4Z)

On the **File** tab, you can define the basic file properties for the output of this step.

| Option                                                  | Description                                                                                                                                              |
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Filename**                                            | Specify the name of the output text file. The file name of a file in the S3 Cloud uses the following schema:`s3n://s3_bucket_name/absolute_path_to_file` |
| **Do not create file at start**                         | Select to only create the file at the end of the processing cycle.                                                                                       |
| **Accept file name from field?**                        | Select to specify file names in a field in the input stream.                                                                                             |
| **File name field**                                     | Specify the field that will contain the file names when **Accept file name from field** is selected.                                                     |
| **Extension**                                           | Specify the three-letter file extension to append to the file name. The default is `.txt`.                                                               |
| **Include stepnr in filename?**                         | Select to include the copy number in the file name (`_0` for example) when you run the step in multiple copies (launching several copies of a step).     |
| **Include partition nr in file name?**                  | Select to include the data partition number in the file name.                                                                                            |
| **Include date in file name?**                          | Select to include the system date in the filename (`_20181231` for example).                                                                             |
| **Include time in file name?**                          | Select to include the system time in the filename (`_235959` for example).                                                                               |
| **Specify Date time format**                            | Select to include the date time in the filename using a format from the **Date time format** dropdown list.                                              |
| **Date time format**                                    | Select the date time format.                                                                                                                             |
| <p><strong>Show filename(s)</strong></p><p>(button)</p> | Click to display a list of the files that will be generated. This is a simulation and depends on the number of rows that go into each file.              |
| **Add filenames to result**                             | Clear if you do not want to add file names to the output file.                                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/s3-file-output-cp/options-s3-file-output/file-tab.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.
