private double [][][][] readPairMatrixEntropy(String fName, int numRes){
		
		BufferedReader bufread = null;
		try {
			File file = new File(fName);
			FileReader fr = new FileReader(file);
			bufread = new BufferedReader(fr);
		}
		catch (FileNotFoundException e) {
			return null;
		}
		
		double asasE[][][][] = new double[numRes][][][];

		boolean done = false;
		String str = null;
		
		while (!done) {
			try {
				str = bufread.readLine();
			}
			catch ( Exception e ){
			 System.out.println("ERROR: An error occurred while reading input");
			 System.exit(0);
			}

			if (str == null) // stop if we've reached EOF
				done = true;
			else if (getToken(str,1).charAt(0)=='%') //skip comment lines
				continue;
			else {				
				int i = new Integer(getToken(str,1)).intValue();
				String name = getToken(str,2);
				asasE[i] = (double [][][])readObject(name,false);
				if (asasE[i]==null){
					System.out.println("ERROR: Could not read data from file "+name);
					System.exit(1);
				}
			}
		}
					
		// We're done reading them in
		try {
			bufread.close();
		}
		catch(Exception e)
		{}
		
		return asasE;
	}