Try this...
[{"id":"374ca31c2deea912","type":"inject","z":"eaa6d97a6ede80ab","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":450,"y":500,"wires":[["6a0ce8bfb177d3f4","3ece076417875c88","e509da6d43905892"]]},{"id":"6a0ce8bfb177d3f4","type":"change","z":"eaa6d97a6ede80ab","name":"C:/temp","rules":[{"t":"set","p":"polku","pt":"msg","to":"C:/temp","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":320,"wires":[["764e8005c757ddbd"]]},{"id":"3ece076417875c88","type":"ui_dropdown","z":"eaa6d97a6ede80ab","name":"","label":"","tooltip":"","place":"Valitse tiedosto","group":"0872231650f59ce7","order":1,"width":0,"height":0,"passthru":true,"multiple":false,"options":[{"label":"","value":"","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":740,"y":440,"wires":[["189b9416b4f47e0f"]]},{"id":"e509da6d43905892","type":"ui_text","z":"eaa6d97a6ede80ab","group":"0872231650f59ce7","order":3,"width":0,"height":0,"name":"","label":"Tikku1nimi:","format":"{{msg.payload}}","layout":"row-spread","className":"","x":750,"y":720,"wires":[]},{"id":"764e8005c757ddbd","type":"fs-ops-dir","z":"eaa6d97a6ede80ab","name":"polku","path":"c:/temp","pathType":"str","filter":"*.dump","filterType":"str","dir":"files","dirType":"msg","x":870,"y":320,"wires":[["a5653a60479f902d"]]},{"id":"a5653a60479f902d","type":"function","z":"eaa6d97a6ede80ab","name":"create options","func":"\n//[{ \"filename\": \"full path\" }]\n\nmsg.options = Object.values(msg.files).map(filename => {\n return {\n [filename]: msg.polku + '/' + filename\n }\n})\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":760,"y":380,"wires":[["3ece076417875c88","f7c089efd06d9866"]]},{"id":"189b9416b4f47e0f","type":"change","z":"eaa6d97a6ede80ab","name":"set msg.filename","rules":[{"t":"set","p":"filename","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":930,"y":440,"wires":[["45603ddcb5682875","2545ac94284dfabe"]]},{"id":"5e7d11a891b8f135","type":"function","z":"eaa6d97a6ede80ab","name":"get value of tikku1nimi","func":"const p = msg.payload\nmsg.payload = p.tikku1nimi;\nif (p.tikku1nimi == undefined) {\n msg.payload = \" \"\n\n} else {\n msg.payload = p.tikku1nimi;\n global.set(\"tikku1alustusdata\", p, \"file\")\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":780,"y":640,"wires":[["e509da6d43905892"]]},{"id":"133f26ce16386305","type":"change","z":"eaa6d97a6ede80ab","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"error.message","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":740,"wires":[["974b80786730ddb6","e509da6d43905892"]]},{"id":"f7c089efd06d9866","type":"debug","z":"eaa6d97a6ede80ab","name":"check options are [ { \"filename\" : \"full file path\" } ]","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"options","targetType":"msg","statusVal":"","statusType":"auto","x":1120,"y":380,"wires":[]},{"id":"45603ddcb5682875","type":"file in","z":"eaa6d97a6ede80ab","name":"Read Dump_Starterinfo","filename":"","format":"utf8","sendError":true,"allProps":false,"x":790,"y":520,"wires":[["6392a83225a15117"]]},{"id":"2545ac94284dfabe","type":"debug","z":"eaa6d97a6ede80ab","name":"check filename is full path","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"filename","targetType":"msg","statusVal":"","statusType":"auto","x":1190,"y":440,"wires":[]},{"id":"3d00a59e1287f338","type":"json","z":"eaa6d97a6ede80ab","name":"","property":"payload","action":"","pretty":false,"x":970,"y":580,"wires":[["5e7d11a891b8f135","0ee49453a738e1bf"]]},{"id":"5477a22e380d278b","type":"catch","z":"eaa6d97a6ede80ab","name":"","scope":["45603ddcb5682875","5e7d11a891b8f135","3d00a59e1287f338","6392a83225a15117"],"uncaught":false,"x":430,"y":660,"wires":[["133f26ce16386305","0e4a511fed42da85"]]},{"id":"974b80786730ddb6","type":"ui_toast","z":"eaa6d97a6ede80ab","position":"top right","displayTime":"3","highlight":"red","sendall":false,"outputs":0,"ok":"OK","cancel":"","raw":false,"className":"","topic":"","name":"","x":770,"y":760,"wires":[]},{"id":"6392a83225a15117","type":"function","z":"eaa6d97a6ede80ab","name":"clean file data to ascii","func":"let fd = msg.payload.trim();\nfd = fd.normalize('NFD').replace(/[\\u0300-\\u036f]/g, \"\")\nfd = fd.replace(/[\\u{0080}-\\u{FFFF}]/gu, \"\");\nfd = fd.replace(/[^\\x20-\\x7E]+/g, '');\nmsg.payload = fd\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":780,"y":580,"wires":[["3d00a59e1287f338"]]},{"id":"0ee49453a738e1bf","type":"debug","z":"eaa6d97a6ede80ab","name":"should be JS Object","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1200,"y":580,"wires":[]},{"id":"0e4a511fed42da85","type":"debug","z":"eaa6d97a6ede80ab","name":"errors","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":470,"y":600,"wires":[]},{"id":"0872231650f59ce7","type":"ui_group","name":"testi","tab":"1de8df1002dbe6df","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"1de8df1002dbe6df","type":"ui_tab","name":"Kokeilu","icon":"dashboard","disabled":false,"hidden":false}]