protected void printFileHeader(PrintWriter writer) {
		writeToFile(HEADER_TIME, false);
		
		int nrOfClusters = clusters.size();
		
		for (int i = 0; i < nrOfClusters; i++) {
			int nrOfElementsInCluster = clusters.get(i).getTimeSeriesIndexes().size();
			
			for (int j = 0; j < nrOfElementsInCluster; j++) {
				if (isLastElement(nrOfClusters, i, nrOfElementsInCluster, j)) {
					writeToFile(getHeaderClusterString(i, j), true);
				} else {
					writeToFile(getHeaderClusterString(i, j), false);
				}
			}
		}
	}