private void initBuses(List<Bus> buses, String filePath) {
		try {
			File file = new File(filePath);
			if (file.isDirectory()) {
				System.out.println(file.getAbsolutePath());
				String[] filelist = file.list();
				for (int i = 0; i < filelist.length; i++) {
					File readfile = new File(filePath + "/" + filelist[i]);
					if (!readfile.isDirectory()) {
						String name = readfile.getName();
						System.out.println("path=" + readfile.getPath());
						System.out.println("absolutepath="
								+ readfile.getAbsolutePath());
						System.out.println("name=" + name);

						pathLocs = new ArrayList<Location>();
						loadData(pathLocs, readfile.getPath());
						buses.add(new Bus(this, map, initZoomLevel, name
								.substring(0, name.indexOf('.')), pathLocs,
								buses));
						String lineNum = name.substring(name.indexOf('-'),
								name.indexOf('.'));
						if (!lineNums.contains(lineNum)) {
							lineNums.add(lineNum);
						}
					} else {
						// readfile(filePath + "/" + filelist[i]);
					}
				}
			}
		} catch (Exception e) {
			System.out.println("readfile()   Exception:" + e.getMessage());
		}
	}