Added a Funktion for opening a file selecting dialog later used to open an existing file