File explorer opens with double click, selects with one click, selected file absolute path is written at global variable 'selectedFile'