How open a File in another tab

After my user upload an file (with an MemoryBuffer buffer;)

I need to create an button to when my user click open a tab with tab uploaded file.

so how can I does this?

tks