public static void saveAllAsGML(String path, int fromYear, int fromMonth, int toYear, int toMonth) throws Exception {
		
		int month = fromMonth;
		int year = fromYear;
		
		while(year <= toYear) {
			
			File f = new File(path + "/" + year + "-" + month + ".gml");
			saveAsGML(f, year, month, year, month, false);
			
			if(month < 12) {
				month++;
			}
			else {
				year++;
				month = 1;
			}
			
			if(year > toYear || year == toYear && month > toMonth) {
				break;
			}
		}
		
	}