Set fileSelector path and selection to startingFile if it exist.