public static Wallet LoadFromFileStream(FileStream f) { var ois = new BinaryFormatter(); return (Wallet) ois.Deserialize(f); }