private void processFile(String file) throws Exception
	{
		//alle characters appenden
	    List<String> lines = Files.readAllLines(Paths.get(file), Charset.forName("UTF-8"));
	    for(String s : lines)
	    {
	    	for(int i=0; i < s.length(); i++)
	    	{
	    		elements.add(s.charAt(i));
	    	}
	    }
	    
	    System.out.println(elements.size());
//	    String text = null;
//	    for(String l : lines)
//	    {
//	    	text += l + " ";
//	    }
//	    
//	    BreakIterator iterator = BreakIterator.getSentenceInstance(Locale.ENGLISH);
//	    iterator.setText(text);
//	    int start = iterator.first();
//	    
//	    sentences = new ArrayList<Sentence>();  
//	    for (int end = iterator.next();
//	        end != BreakIterator.DONE;
//	        start = end, end = iterator.next()) 
//	    {
//	    	sentences.add(new Sentence(text.substring(start,end), false));
//	    }
	}