How to Dynamically load banks using code

Basically in game every object has it’s own bank file associated with it. I have a line of code that checks every object that will be used in the game during load time. I just am having an issue figuring out how to write out the BankLoad script so that it will load during loadtime before the game starts.

Editing to Add: My banks are the same name as the object so when I check the object I want to Use BankLoad to check each name and load the corresponding one.