public BookReader(String filename)
	{
		super(filename);		//does nothing
		
		//read in book - set book to "" if not found
		Scanner input;
		book = new ArrayList<String>();
		try
		{
			input = new Scanner(new File(filename));
			System.out.println("Loaded book.");
		}
		catch (Exception e)
		{
			System.out.println("Book \"" + filename + "\" not found.");
			book.add("");
			return;
		}
		
		StringBuilder currentChapter = new StringBuilder();
		while (input.hasNext())
		{
			String next = input.nextLine();
			if (next.length() > 0)
			{
				if (next.startsWith("CHAPTER") && !currentChapter.equals(""))
				{
					System.out.println(book.size() + ": " + currentChapter.length());
					book.add(currentChapter.toString());
					currentChapter = new StringBuilder();
				}
				next = next.toLowerCase();
				for (int i = 0; i < next.length(); i++)
					if ((next.charAt(i) >= 'a' && next.charAt(i) <= 'z') || next.charAt(i) == ' ')
						currentChapter.append(next.charAt(i));
				currentChapter.append(" ");
			}
		}
		input.close();
		
	}