# File tab

The **File** tab has **Operational Type** selections that determine how and where the data is written.

![File tab](https://3411831820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAYwCj9fPr1B2pjC11IOQ%2Fuploads%2Fgit-blob-119766ffe12e264829e52af57be4bba38650b2aa%2FPDI_CatalogOutput_File.png?alt=media)

| Field                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Save by location**               | Select to save your data according to the **Save by location** settings.**Note:** In some cases, if missing or incomplete data is returned, you may need to change the default limit for returned results. See [Data Catalog searches returning incomplete or missing data](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/data-integration-issues/lumada-data-catalog-searches-returning-incomplete-or-missing-data) for information. |
| **Overwrite an existing resource** | Select to save your data by overwriting the existing resource.                                                                                                                                                                                                                                                                                                                                                                                              |

When \*\*Save by location\*\* is selected, use these fields to determine the data type that is written, and where and how the data is saved.

| Field                     | Description                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Virtual Folder**        | Specify a virtual folder in Data Catalog for the data.                                                                                                                                                                                                                                                                                                                               |
| **Name**                  | Enter the file name and file extension.                                                                                                                                                                                                                                                                                                                                              |
| **File Format**           | Specify the file format. Only applicable for CSV and Parquet file types.                                                                                                                                                                                                                                                                                                             |
| **Replace**               | Select to replace an existing file.                                                                                                                                                                                                                                                                                                                                                  |
| **Update**                | Select to update an existing file. Only applicable for CSV file types. Note that this method is currently unavailable when your data source is a MinIO instance. See [Connecting to Virtual File Systems](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/data-integration-perspective-in-the-pdi-client/virtual-file-system-browser) for alternate connections. |
| **Create with timestamp** | Select to create a new file with a timestamp when the file already exists.                                                                                                                                                                                                                                                                                                           |

When **Overwrite an existing resource** is selected, use this field to determine the resource that is overwritten.

![Overwrite an existing Resource Id](https://3411831820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAYwCj9fPr1B2pjC11IOQ%2Fuploads%2Fgit-blob-822084b08688d12a4027315c8d10864a27c0a97b%2FPDI_CatalogOutput_File_OverwriteExisting.png?alt=media)

| Field           | Description                                                                           |
| --------------- | ------------------------------------------------------------------------------------- |
| **Resource Id** | Specify the Data Catalog resource identifier to use as the location to save the data. |
