QGIS plugins found in "processing" all have the same user interface. In particular, to open a file, the selector either show the list of already downloaded files, or have a "..." button to browse and load a file, which will replace the list of files.
I could (painfully) rewrite this code, but I'm wondering if there are some ready-made code to generate this kind of "standard" user interface?