> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/openlibraryfile.md).

# openLibraryFile()

Opens a concrete file from the content library. If the file is already opened, then nothing will happen.

```javascript
sambaFrame.openLibraryFile('c0771004-c9fc-4308-be4f-6264d8e486af');
```

**Sample use case**: \
You may have buttons in your integration to control file opening and closing.

Often used in conjunction with [closeLibraryFile()](/reference/sdk/methods/closelibraryfile.md).
