[Home](./index.md) > [bitburner](./bitburner.md) > [Darknet](./bitburner.darknet.md) > [openCache](./bitburner.darknet.opencache.md) ## Darknet.openCache() method Opens a .cache file on the current server to acquire its valuable contents. **Signature:** ```typescript openCache(filename: string, suppressToast?: boolean): CacheResult; ``` ## Parameters
| Parameter | Type | Description |
|---|---|---|
| filename | string | Name of the cache file to open. |
| suppressToast | boolean | _(Optional)_ Optional. If true, suppresses the toast notification that appears when opening a cache file. Defaults to false. |