Example modified to use selectable-filechooser plugin.