public void parse(String fileName)
	{
		int currentIndex = 1;
		int endIndex;
		ArrayList<String> outputData = new ArrayList<String>();
		String tempString;
		String data = this.readFileAsString(fileName);
		this.SetTeamNames(data);
		this.SetThreeLetterNames(fileName);
		
		currentIndex = data.indexOf("nbaGIPBPTeams");
		
		while (currentIndex != -1)
		{
			currentIndex = data.indexOf("<tr", currentIndex);
			endIndex = data.indexOf("</tr>", currentIndex);
			
			if (currentIndex == -1)
			{
				break;
			}
			
			tempString = data.substring(currentIndex, endIndex);
			
			if (IsQuarterRow(tempString))
			{
				outputData.add(ParseQuarter(tempString));
			}
			else if (IsJumpBallRow(tempString))
			{
				outputData.add(ParseJumpBall(tempString));
			}
			else if (IsNormalRow(tempString))
			{
				String temp = ParseNormal(tempString).trim();
				if (!temp.endsWith("]"))
				{
					outputData.add(temp);
				}
			}
			
			currentIndex = endIndex;
		}
		
		WriteFile(outputData, System.getProperty("user.dir") + "/" + ParseFileName(fileName) + ".txt");
		
	}