private String[] parseTOC(InputStream toc) throws IOException{
		LinkedList<String> ll = new LinkedList<String>();
		while(true){
			StringBuilder sb = new StringBuilder();
			while(true){
				char c = (char)toc.read();
				if(c == -1){
					ll.removeFirst();
					ll.removeLast();
					return ll.toArray(new String[0]);
				}
				if(c != '\n') sb.append(c);
				else{
					ll.addLast(sb.toString());
					break;
				}
			}
		}
	}