pub fn get_settings<S>( path: &S, ) -> Result<Rc<RefCell<SettingsFile>>, Box<dyn Error>>where S: AsRef<OsStr> + ?Sized,