public static void main(String[] args) throws Exception
	{
		// this file was edited to only the relevant data here..
		BufferedReader reader = new BufferedReader(new FileReader(new File(
				ConfigReader.getTanyaDir() + File.separator + 
				"SOLAR2AF011715Corrected.txt")));
		
		String firstLine = reader.readLine();
		String[] firstLineSplits = firstLine.split("\t");
		
		HashMap<String, BufferedWriter> writers = new HashMap<String, BufferedWriter>();
		for( int x=1; x < NewRDPParserFileLine.TAXA_ARRAY.length; x++)
			writers.put(NewRDPParserFileLine.TAXA_ARRAY[x], 
					startAWriter(NewRDPParserFileLine.TAXA_ARRAY[x], firstLine));
		
		for( String s= reader.readLine(); s != null; s= reader.readLine())
		{
			String[] splits = s.split("\t");
			
			for( BufferedWriter writer : writers.values() )
				writer.write("" + splits[0] +"_" + splits[1]);
				
			for( int x=2; x < splits.length; x++)
			{
				String level = getTaxonomy(firstLineSplits[x]);
				BufferedWriter writer =  writers.get(level);
				writer.write("\t" + Double.parseDouble(splits[x]));
			}
			

			for( BufferedWriter writer : writers.values() )
				writer.write("\n");
		}
		

		for( BufferedWriter writer : writers.values() )
		{
			writer.flush();  writer.close();
		}
			
	}