---
title: "newFile"
canonical: "https://help.vicon.com/space/Shogun114/196391170/newFile"
format: markdown
---
# Description

This command clears the database containing all data pertaining to the current scene. You are not prompted to save the current scene. This command is not undoable.

## Functional area

File handling

# Command syntax

## Syntax

|  |
| --- |
| `newFile [-promptToSave]` |

### Arguments

None

### Flags

See above syntax.  
 

## Return value

void

## Examples

```plaintext
newFile;
// Database cleared.
```

# Additional information

## Related commands

- [loadFile](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196391056)
- [resetScene](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196381514)
- [saveFile](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196388459)