# 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.
