I need the button in my UI to DOWNLOAD csv file. Vaadin 8. On click I am to choose path of the file and choose file.
In Vaadin 8 there is Upload component
https://vaadin.com/docs/v8/framework/components/components-upload
There is also extended version in Directory which behaves even more like a button.
https://vaadin.com/directory/component/uploadbutton-add-on
Choose the one which fits your needs.