# File Rename Action

The **File Rename Action** node renames an existing file without changing its location.

Only the filename is modified; the file remains in the same directory. The operation is performed on the host system where the stream is executed (client or server).

#### Input Parameters

**File Path**\
Full path to the file that should be renamed, including filename and extension.

**New File Name**\
New filename including extension, but **without** a path.\
The file will remain in the original directory.

<figure><img src="https://1398472304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJYkTyk9qgh7aCR6dHIm%2Fuploads%2FmI4D1GcDHpVrjKs7U3Hg%2Fimage.png?alt=media&#x26;token=85c8127d-487a-458e-942e-2b454d3be38d" alt="" width="352"><figcaption><p>File Rename Action</p></figcaption></figure>

#### Behavior

* Renames a single file
* Does not move the file to another directory
* Requires the source file to exist
* Supports asynchronous execution

#### Typical Use Cases

* standardizing filenames
* preparing files for delivery naming conventions
* renaming rendered outputs
* removing temporary naming prefixes/suffixes
* post-processing workflow organization

#### Important Notes

* The directory cannot be changed with this node (use [File Move Action](https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/file-move-action) instead)
* If a file with the new name already exists in the same directory, the node will fail
* The file contents remain unchanged

#### Practical Note

Use this node when only the naming convention must change.\
If you also need to relocate the file, first rename it or combine it with a move operation using the [File Move Action](https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/file-move-action).
