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

# Working with the filesystem

If you need to create a file (e.g. creating XML feeds) or to work with the filesystem, you should use our `.saveOutput()` function.

```typescript
import { functions } from "@xomlo/xomlo-sdk";

functions.main(async () => {
    await functions.storage.saveOutput('test.txt', 'test');
});
```

Function .saveOutput() expects two parameters - the name of the created file and content. This example will store the `test.txt` file into the `./output` folder which will contain the following string: `test`.
