Is it possible to use Upload as Item in MenuBar?

I need upload action as MenuItem in the MenuBar. I know that I can call

upload.submitUpload(); in MenuItem action. But my question is next.
How can I select that file? Is there are any way to call Browse file window?