public static String findURL(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(redditUrl))
			{
				// return the rest of the line
				String possibleURL = line.substring(redditUrl.length(), line.length());
				if (possibleURL.contains("reddit.com"))
				{
					return possibleURL;
				}
				else
				{
					System.out.println("Invalid url request:");
					System.out.println("reddit url=" + possibleURL);
					System.exit(-1);
				}
			}
		}

		throw new FileNotFoundException();
	}