code: func ImportLDBWalletFromMnemonic(mnemonic, path string) (*Wallet, error) {
  	mnemonic, err := factom.ParseAndValidateMnemonic(mnemonic)
  	if err != nil {
  		return nil, err
  	}
  
  	// check if the file exists
  	_, err = os.Stat(path)
  	if err == nil {
  		return nil, fmt.Errorf("%s: file already exists", path)
  	}
  
  	db, err := NewLevelDB(path)
  	if err != nil {
  		return nil, err
  	}
  
  	seed := new(DBSeed)
  	seed.MnemonicSeed = mnemonic
  	if err := db.InsertDBSeed(seed); err != nil {
  		return nil, err
  	}
  
  	w := new(Wallet)
  	w.transactions = make(map[string]*factoid.Transaction)
  	w.WalletDatabaseOverlay = db
  
  	return w, nil
  }
docs: // ImportWalletFromMnemonic creates a new wallet with a provided Mnemonic seed
  // defined in bip-0039.