---
title: "newFile"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736776/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

> Macro (scroll-tablelayout)

|  |
| --- |
| `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/ShogunPost121/pages/1253738225)
- [resetScene](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737302)
- [saveFile](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736795)