public int ReloadHeidelTimeDocs(int year)
	{
		File folder = new File(Configuration.HeidelCollectionRoot + "19" + year);
		File[] listOfFiles = folder.listFiles();
		if (listOfFiles == null)
		{
			System.out.printf("ANNO 19%d   assente\n", year);
			return 0;
		} 	

        int countFiles = 0;
        double perc = 0;
		for (File file : listOfFiles) {
			if (file.isFile()) {
                
                perc = 100 * (double)(countFiles + 1) / (double)listOfFiles.length;
				System.out.printf("ANNO 19%d   %d/%d  %.1f%%\r", year, (countFiles + 1), listOfFiles.length, perc);
				
				
				try {
					String path = file.getPath();
					String str = readFile(path, Charset.defaultCharset());
					
					
					String docId = path.substring(path.lastIndexOf("/") + 1, path.indexOf("_"));
					String dataCreazione = path.substring(path.indexOf("_") + 1);
					
					//System.out.println("\t" + docId + "\t" + dataCreazione);
					

					if (str.length() > 0)
					{
						Document d = new Document();
						d.Id = docId;
						try {
							d.DataCreazione = new SimpleDateFormat("yyyy-MM-dd").parse(dataCreazione);
						}
						catch(ParseException ex)
						{
						}
						d.TestoTime = str;
						d.HeidelTerms = new ArrayList<HeidelTerm>();
						
						d.HeidelTerms = GetHeidelTimeTerms(str);
						
						documents.add(d);
						countFiles++;
					}
					
				}
				catch(IOException ex)
				{
				}
				
				
			}
		}
		System.out.println();
		return countFiles;
	}