private static void recurFile(File folder, List<String> filespath,
			String fileext) {
		String[] files = folder.list();
		for (String filename : files) {
			File file = new File(folder.getAbsolutePath() + File.separator
					+ filename);
			if (file.isDirectory()) {
				recurFile(file, filespath, fileext);
			} else {
				if(fileext.equals("*")){
					filespath.add(file.getAbsolutePath());
				}
				else if (file.getName().endsWith(fileext)) {
					filespath.add(file.getAbsolutePath());
				}
			}
		}
	}