public BankAccount ReadAccount(string name)
        {
            BankAccount account  = null;
            var         contents = fileWriter.Read(name);
            var         both     = contents.Split('|');

            if (both.Length == 2)
            {
                double balance = 0;
                if (double.TryParse(both[1], out balance))
                {
                    account = new BankAccount(both[0], balance);
                }
            }
            return(account);
        }