public static Employee getEmployeeByName(String name, String folderpath)
	{
		Employee e = null;
		
		List<Employee> employeeList = new ArrayList<Employee>();
		File dir = new File(folderpath);
		File[] files = dir.listFiles();
		for (File file : files)
		{
			if (file.getName().contains("."))
				continue;
			
			employeeList.add(FileUtil.readEmployee(folderpath + "/" + file.getName()) );
		}
		
		// ƥӦԱid
		for (int i = 0; i < employeeList.size(); i++)
		{
			if (employeeList.get(i).getName().equals(name))
			{
				e = employeeList.get(i);
				break;
			}
		}		
		
		return e;
		
	}