public static double findTotalTime(String fileName) throws FileNotFoundException
	{
		Scanner scan = new Scanner(new File(fileName));
		while (scan.hasNext())
		{
			String line = scan.nextLine();

			if (line.startsWith("//"))
			{
				continue;
			}
			if (line.length() == 0)
			{
				continue;
			}

			if (line.contains(totalTime))
			{
				// return the rest of the line
				try
				{
					return Double.parseDouble(line.substring(totalTime.length(), line.length()));
				}
				catch (NumberFormatException e)
				{
					System.out.println("Invalid total time request:");
					System.out.println("total time avaialbe=" +
					                   line.substring(totalTime.length(), line.length()));
					System.exit(-1);
				}
			}
		}

		throw new FileNotFoundException();
	}