# File Management

Genie provides a complete file management system that is fully integrated with your server, terminal, and AI. It allows you to create, edit, organize, and manage your files directly from the browser, while everything is stored on your persistent cloud environment.

![File Manager](https://253630326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy3wRNrxvvjTFreyXSBOV%2Fuploads%2Fgit-blob-95f5123d9df02f55b0a0f042361d7b44c14d8dee%2Ffile-access.png?alt=media)

This is not a temporary file viewer or a limited interface. It is a direct representation of your server's filesystem.

## A Real Workspace on Your Server

All your files in Genie live on your dedicated server, not in the browser.

By default, your workspace is located at:

```
/home/ubuntu/workspace
```

This is your main working directory where you can create projects, store code, and manage resources.

Anything you create or modify here is saved on disk and remains available across sessions.

***

## Managing Files Visually

Genie provides a clean file interface that allows you to manage your workspace without relying entirely on terminal commands.

You can:

* Create and delete files or folders
* Rename and organize directories
* Open and edit files directly
* Navigate your workspace easily

![File Manager](https://253630326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy3wRNrxvvjTFreyXSBOV%2Fuploads%2Fgit-blob-e7ecf51b32d81ea835f8d691facda69e8772af08%2Ffile-grid.png?alt=media)

This makes it easier to work with your environment, especially when handling multiple files or projects.

***

## Seamless Sync with Terminal

The file system is fully synchronized with your terminal.

* Files created in the terminal appear instantly in the file view
* Changes made in the file interface reflect immediately in your system
* Both interfaces operate on the same underlying filesystem

![Access Files via Terminal](https://253630326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy3wRNrxvvjTFreyXSBOV%2Fuploads%2Fgit-blob-d5827da5618c22c2bf7abaadebe210459130b2d4%2Fterminal-in-file.png?alt=media)

For example:

```bash
touch index.js
```

The file will immediately appear in your file browser.

This allows you to switch between visual management and command-line workflows without any friction.

***

## Editing Files

You can open and edit files directly inside Genie.

This allows you to:

* Write and modify code
* Update configuration files
* Review logs and outputs

![File Operations](https://253630326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy3wRNrxvvjTFreyXSBOV%2Fuploads%2Fgit-blob-26e5c5601c8a39a40dbceeb0efe0a9aa779403fe%2Fopening-file.png?alt=media)

All changes are saved directly to your server, ensuring consistency across your environment.

***

## Full Control Over Your Files

Since your environment is a real Linux system, you have complete control over your files.

You can:

* Use terminal commands like cp, mv, rm
* Install tools that manage files and directories
* Structure your workspace however you prefer

There are no restrictions on how you organize or use your filesystem.

***

## Persistence and Reliability

Your files are stored on a persistent disk attached to your server.

* Data is not lost when you disconnect
* Your workspace remains intact across sessions
* Projects can be continued at any time

This allows you to treat Genie as a long-term working environment rather than a temporary workspace.

***

## AI-Aware File System

Genie's AI is aware of your file structure and can interact with it.

You can:

* Ask the AI to read or explain files
* Generate new files or modify existing ones
* Navigate and work across your project using AI assistance

![Access Files using Genie](https://253630326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy3wRNrxvvjTFreyXSBOV%2Fuploads%2Fgit-blob-3458179e94391a198331e4627cd2360bc4aa06e7%2Fchat-in-file.png?alt=media)

This creates a more connected workflow where files, commands, and AI operate together.

***

## Why File Management Matters

File management in Genie is not just about storing data. It is about creating a workspace where everything is connected.

Your files are:

* Persisted on your server
* Accessible through both terminal and interface
* Understandable and usable by AI
