# Viewing Files

When a record is associated with files in Salesforce, GRAX will render a section named "Files" to represent them, showing their name and size - as well as buttons to view and download them:

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2FWXyl8Pkc6GsdZunXnS4S%2FFiles%20Graph%20Breakdown.png?alt=media&#x26;token=04761592-5210-46a8-90c5-076dedd537d8" alt=""><figcaption><p>Files Graph Breakdown</p></figcaption></figure>

This shows up for records of objects that contain files:

* `Attachment`
* `ContentVersion`
* `EventLogFile`

As well as records associated with them, be it via the `Attachment` reference or via a `ContentDocumentLink` . This means if you're looking at an email that has attachments, the corresponding files should show up right there.

Internally, files are stored in the provided bucket under:

```
grax/audittrail/salesforce/$ORG_ID/$OBJECT/$RECORD_ID/files/$RECORD_ID
```

You can also use the [GRAX API to view files related to a record and download their contents](https://api.grax.com/#tag/record-files).
