public static void readFile(){
		Scanner keyboard = new Scanner(System.in);
		Scanner inFile;
		System.out.print("Enter name of file containing species data:");
		String fname=keyboard.nextLine();
		File readIn=new File(fname);
		String speciesNames[];
		String temp[];
		try {
			inFile = new Scanner(readIn);
			speciesNames=inFile.nextLine().split("	");
			dist=new double[(speciesNames.length*2)-1][];//allocate rows
			nodes=new Taxa[(speciesNames.length*2)-1];//array for Taxa objects to reside in
			for(int i=1;i<=dist.length;i++){
				dist[i-1]=new double[i];//allocate ragged
			}
			int i=0;
			while(inFile.hasNextLine()){
				temp=inFile.nextLine().split("	");
				nodes[i]=new Taxa(Character.toString((char) (i+65)), i, speciesNames[i]);
				//nodes[i].print();
				for(int j=0; j<temp.length;j++){
				dist[i][j]=Double.valueOf(temp[j]);
				}
				i++;num++;
			}
			inFile.close();
		} catch (FileNotFoundException e) {
			System.err.println("E:File not found. Is text file in parent folder of this java file? Is name spelled correctly?");
			readFile();
			//e.printStackTrace();
		}
		keyboard.close();
	}