# File not found Problem HTML5 (loadBankFile method)

**URL:** <https://qa.fmod.com/t/file-not-found-problem-html5-loadbankfile-method/22467>\
**Category:** FMOD Engine\
**Tags:** html5\
**Created:** [January 1, 2025, 10:19pm UTC](https://qa.fmod.com/t/file-not-found-problem-html5-loadbankfile-method/22467 "2025-01-01T22:19:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PuskayGabone](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/puskaygabone/32/7734_2.png) [@PuskayGabone](https://qa.fmod.com/u/PuskayGabone)\
**Post date:** [January 1, 2025, 10:19pm UTC](https://qa.fmod.com/t/file-not-found-problem-html5-loadbankfile-method/22467/1 "2025-01-01T22:19:21Z")

</div>

Error 18: “File not found”.  
What I do wrong?

```auto
nextState = async () => {
        try {
            let bank = {}
            const res = this.system.loadBankFile("/Desktop/Attic.strings.bank", FMOD.STUDIO_LOAD_BANK_NORMAL, bank);
            console.log(bank, "Result status: " + FMOD.ErrorString(res), res)
        } catch (error) {
            console.error(error)
        }
    }

```

(Console log: (({} ‘Result status: File not found.’ 18)))

Files located in the right place…

 ![Screenshot 2025-01-02 at 1.11.42 AM](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/1a94a57d463c713bcc676202e9fac9590b13fa33.png)

Even after build that happens 🥹  
Can anyone help?

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [January 6, 2025, 11:20pm UTC](https://qa.fmod.com/t/file-not-found-problem-html5-loadbankfile-method/22467/2 "2025-01-06T23:20:47Z")

</div>

Though I don’t have access to your code and therefore can’t know for sure, it’s likely that you haven’t preloaded your bank files with `FMOD.FS_createPreloadedFile()`. I’d recommend reading over the [File Access](https://www.fmod.com/docs/2.02/api/platforms-html5.html#file-access) section of our HTML5-specific docs for more information on this. Also, the `load_banks.js` example in the HTML5 Studio API examples would should serve as a good reference on the various ways to go about loading banks.
