//while ((file=(String)files.nextValue())!=null){
// System.out.println("file: "+fileName);
//}
//String fileName = file;
TupleListIterator tupleListIterator = (TupleListIterator) iterationData[1];
MetadataWrapper metadataWrapper = tupleListIterator.getMetadataWrapper();
TupleMetadata tupleMetadata = (TupleMetadata) metadataWrapper.getMetadata();
Tuple tuple;
try {
mOutputBlockWriter = getOutput(OUTPUT_DATA);
BlockWriter meanOut = getOutput(MEAN);
mMetadataOutputBlockWriter = getOutput(METADATA);
List<ResponsePAZ> responses=new ArrayList<ResponsePAZ>();
int i=0;
parametersMap = new HashMap<String,String>();
while((tuple= (Tuple)tupleListIterator.nextValue())!= null){
System.out.println("in iteration tuple");
ResponsePAZ response= new ResponsePAZ();
response.setName(tuple.getString(tupleMetadata,NAME));
response.setGain(tuple.getDouble(tupleMetadata,GAIN));
response.setGainFreq(tuple.getDouble(tupleMetadata,GAIN_FREQUENCY));