> For the complete documentation index, see [llms.txt](https://wiki.loadium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.loadium.com/test-settings/file-output.md).

# File Output

Loadium allows you to generate custom files, download and access them in your JMeter tests using its "Custom Logging" feature.

<figure><img src="/files/hZM7PXjYRdAVxXsny2eK" alt=""><figcaption></figcaption></figure>

You can use custom libraries (such as java.io.File) to generate files.

For example, we have a Groovy script for creating a `.txt` file for logging, as shown below:

<figure><img src="/files/X8o11lKNrabJuw9fY7gq" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note: As mentioned above, output path of your custom file must be set as "useroutput/myFileName" in order to access your file.**
{% endhint %}

Run the test for which you want to get the file outputs and wait for the test to finish. To verify that your file has been successfully written, check the **JMeter.log** window in the **Logs** tab.

<figure><img src="/files/ENcL2XflufmmrYhMG6re" alt=""><figcaption></figcaption></figure>

Once your test is finished, go to the **Logs** tab on the test report page and click the "Download Main Folder" button to download your main test folder.

<figure><img src="/files/NkmNLTiSRtI0vXaAJ025" alt=""><figcaption></figcaption></figure>

Now you can access the output files of your test simply by unzipping specified output file.

<figure><img src="/files/uhKhGvF02NGiRTIgFgN4" alt=""><figcaption></figcaption></figure>
