# FileTouch()

Touches given file, creates the file if not already exists.

```
FileTouch( file=any, createPath=boolean );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| file | any | Yes | file to touch. |  |
| createPath | boolean | No | if set to false, expects all parent directories to exist, true (default) will generate necessary directories |  |

# Examples

*There are currently no examples for this function*







# Categories

[File handling](../../categories/files.md)