pub fn default_path_for(file: &Option<PathBuf>) -> Result<PathBuf, ShellError>