public TimerunsDataset(String textPath, int step, int count) throws IOException, ParserConfigurationException, SAXException, AnnotationException, XPathExpressionException{
		int currIdx = 0;
		String fullBody= loadBody(textPath);
		for (int i=0; i<count; i++){
			//advance of <step> more words
			for (int j=0; j<step; j++){
				while (currIdx < fullBody.length() && (fullBody.charAt(currIdx) != ' ' && fullBody.charAt(currIdx) != '\n'))
					currIdx++;
				while (currIdx < fullBody.length() && (fullBody.charAt(currIdx) == ' ' || fullBody.charAt(currIdx) == '\n'))
					currIdx++;
				if (currIdx == fullBody.length())
					throw new AnnotationException("Cannot make "+count+" documents of "+step+ " words each (lower one of these values).");
			}
			textList.add(fullBody.substring(0, currIdx));
			annList.add(new HashSet<Annotation>());
		}
		
		System.out.println("Biggest document will be "+currIdx+" chars long.");
	}