protected boolean DelAccount(String accountFile, String id) throws ClassNotFoundException, IOException{
		ArrayList<Account> accs = new ArrayList<Account>();
		Account tempacc = null;
		ArrayList<Account> newaccs = new ArrayList<Account>();
		try {
			obji = new ObjectInputStream(new FileInputStream(accountFile));
			objo = new ObjectOutputStream(new FileOutputStream(accountFile)); 
			Object temp = null;
			try {
				temp = obji.readObject();
			} catch (IOException e) {
				System.err.println("File Read Failed! @ DataFileHandler in DelAccount");
			}
				
			
			if (temp instanceof AccountList) {
				accs = ((AccountList) temp).getAccs();
				
			}
			
			for(int i = 0; i < accs.size(); i++){
				tempacc = accs.get(i);
				if (tempacc.getUsername() == id) {
					
				}else{
					newaccs.add(tempacc);
				}
			}
			new File(accountFile).delete();
			objo.writeObject(newaccs);
			objo.flush();	
			objo.close();
			obji.close();
			return true;
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			obji.close();
			objo.close();
			return false;
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			obji.close();
			objo.close();
			return false;
		}
	}