public void saveDatabase(String BankID) throws FileNotFoundException
	{
	   File inFile = new File(BankID + ".txt");    
	   inFile.delete();
      PrintWriter writer = new PrintWriter(inFile);
      Set<Integer> keys = accounts.keySet(); 
      for(Integer key: keys)
      {
         writer.println(accounts.get(key).getCardId());
         writer.println(accounts.get(key).getChecking());
         writer.println(accounts.get(key).getSavings());
         writer.println(accounts.get(key).getPassword());
         writer.println(accounts.get(key).getExpirationMonth());
         writer.println(accounts.get(key).getExpirationYear());
         writer.println(accounts.get(key).getCheckingNumber());
         writer.println(accounts.get(key).getSavingsNumber());
         writer.println(accounts.get(key).isAccessible());
      }
      writer.close();
      
	}