# File

`NodeOutputFile` provides utility methods for interacting with a file of a previous node.

### Methods

#### `asFile(): File`&#x20;

**Description:** Read the file from the node's output.

**Returns:** The file as File Object.

```javascript
FileUploader_1.asFile()
```

***

#### `asNodeFile(): NodeFile`

**Description:** Get the file as NodeFile which has more information about the file.

**Returns:** The file as NodeFile Object.

```javascript
FileUploader_1.asNodeFile()
```
