public static boolean getRoadsData(String pathName) {
		DocumentBuilderFactory docBuilderFactory;
		DocumentBuilder docBuilder;
		Document document = null;
		try {

			docBuilderFactory = DocumentBuilderFactory.newInstance();
			docBuilder = docBuilderFactory.newDocumentBuilder();

			document = docBuilder.parse(new File(pathName));
			document.getDocumentElement().normalize();

		} catch (ParserConfigurationException e) {
			System.err.println(pathName + " XML Format error.");
			e.printStackTrace();
			return false;
		} catch (IOException e) {
			System.err.println(pathName + " Write/Read error.");
			e.printStackTrace();
			return false;
		} catch (SAXException e) {
			System.err.println(pathName + " SAXException.");
			e.printStackTrace();
			return false;
		}

		NodeList names = document.getElementsByTagName("name");
		NodeList coordinates = document.getElementsByTagName("coordinates");

		ArrayList<String> rNames = new ArrayList<String>();
		ArrayList<String> rCoordinates = new ArrayList<String>();

		int j = 0;

		for (int i = 0; i < names.getLength(); i++) {
			if (names.item(i).getParentNode().getNodeName() == "Placemark"
					|| coordinates.item(i).getParentNode().getNodeName() == "Placemark") {
				rNames.add(names.item(i).getTextContent());
				rCoordinates.add(coordinates.item(j).getTextContent()
						.replaceAll(",0.0", ""));
				j++;
			}
		}
		return IOFiles.writeRoadsFile("cleanData/roadsData.txt", rNames,
				rCoordinates);
	}