# Open file

When you select **S3** in the **Environment** field, and then select the Ellipsis (…) button in the **File/Folder** field, the Open File dialog box appears. Perform the following steps to open a file.

![Open File dialog box](/files/fcmiZdEbNJ98cJE1Je8J)

1. In the **Connection** section, fill in the following options.

   | Option               | Description                                                                                                                                                                 |
   | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Access Key**       | Enter the user name needed to access the S3 file system. This option only appears if you select **S3** in the **Source Environment** field in the Hadoop File Input window. |
   | **Secret Key**       | Enter the password needed to access the S3 file system. This option only appears if you select **S3** in the **Source Environment** field in the Hadoop File Input window.  |
   | **Open from Folder** | Indicates the path and name of the directory you want to browse. This directory becomes the active directory.                                                               |
2. In the **Open from Folder** field, navigate to the path and name of the directory you want to browse. This directory becomes the active directory.
3. Use the following options to view and modify the active directory selected in the **Open from Folder** field:

   | Option                 | Description                                                                                                                                                                                            |
   | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   | **Up One Level** icon  | Click this button to display the parent directory of the active directory shown in the **Open from Folder** field.                                                                                     |
   | **Delete** icon        | Click this button to delete a folder from the active directory.                                                                                                                                        |
   | **Create Folder** icon | Click this button to create a new folder in the active directory.                                                                                                                                      |
   | **Name/Type/Modified** | Display the active directory, which is the one that is listed in the **Open from Folder** field. The file type and last modified date display to the right of the folder or file in the **Name** list. |
   | **Filter**             | Apply a filter to the results displayed in the active directory contents.                                                                                                                              |
4. Click **OK** to continue, or **Cancel** to return to the **File** tab without saving your selections.


---

# 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.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/hadoop-file-input-cp-main-page/options-hadoop-file-input-reuse/open-file-hadoop-file-input-kettle.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.
