Get files from multiple uppy instances

Hi, I have multiple dynamic uppy instances. How to get files in each uppy instance?

I have tried this

//initialize uppy and add to uppyInstances
const uppyDashboard = new Uppy().use(Dashboard, { inline: true, target: '#uppy-dashboard' });
uppyDashboard.id = "uppyRequest" + requestDetailId;
uppyInstances.push(uppyDashboard);


// get files from specific uppy instance
    const uppyInstance = uppyInstances.find(q => q.id = target);
    console.log('Uppy Instance ID:', uppyInstance.id);
    console.log('Files:', uppyInstance.getFiles());
    console.log('File count:', uppyInstance.getFiles().length);

but it always get files from the last generated uppy instance. When i check on console, ID is correct but when log getfiles() its show only source “uppyRequestRMD24080900024” instead of “uppyRequestRMD24080900023”. How to get files in each uppy instance the right way?