gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/operations/stats/visitors/GenericCsvStatsVisitor.java
void writeCsv(ResourceInst resourceInst,List<String> headers,List<String> values)
	{
		File file =  null;
		
		if(this.statsFile == null)
			file = csvFile;
		else
			file = Paths.get(this.outputDirectory.toFile().getAbsolutePath(), this.statsFile.getName()+"."+resourceInst.getType().getName()+".csv").toFile();
	
		CsvWriter csvWriter = new CsvWriter(file);
		
		try
		{
			csvWriter.writeHeader(headers);
			csvWriter.appendRow(values);
		}
		catch (IOException e)
		{
			throw new RuntimeException(e);
		}
	}
void writeCsv(ResourceInst resourceInst,List<String> headers,List<String> values)
	{
		File file =  null;
		
		if(this.statsFile == null)
			file = csvFile;
		else
			file = Paths.get(this.outputDirectory.toFile().getAbsolutePath(), this.statsFile.getName()+"."+resourceInst.getType().getName()+".csv").toFile();
	
		CsvWriter csvWriter = new CsvWriter(file);
		
		try
		{
			csvWriter.writeHeader(headers);
			csvWriter.appendRow(values);
		}
		catch (IOException e)
		{
			throw new RuntimeException(e);
		}
	}
------------------------------------------------