> For the complete documentation index, see [llms.txt](https://fluxusrbx.gitbook.io/fluxus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fluxusrbx.gitbook.io/fluxus/filesystem.md).

# FileSystem

## \<void> writefile(\<string> path, \<string> contents)

{% hint style="danger" %}
This will not append the file, instead it will overwrite.
{% endhint %}

Sets path contents to the second argument.

## \<void> appendfile(\<string> path, \<string> contents)

Appends path contents to the second argument.

## \<string> readfile(\<string> path)

Returns path contents.&#x20;

## \<function> loadfile(\<string> path)

Returns an LClosure of path contents interpreted.&#x20;

## \<bool> isfile(\<string> path)

Returns if path is a file.

## \<void> makefolder(\<string> path)

Makes a folder named with the first argument value inside of workspace.

## \<void> delfolder(\<string> path)

Deletes the folder named path from Fluxus workspace.

## \<void> delfile(\<string> path)

Deletes the file named path.

## \<void> listfiles(\<string?> path = workspace)

Returns all the files in path.
