You can put the check yourself after you get the save file name ? cant you ?
Also there might be so many cases, so its expected of the function to only return a file name, and not overwrite it