private String [] getPDBfiles(String fName, int numFiles){
		
		BufferedReader bufread = null;
		try {
			File file = new File(fName);
			FileReader fr = new FileReader(file);
			bufread = new BufferedReader(fr);
		}
		catch (FileNotFoundException e) {
			System.out.println(" ... pdbs config file not found");
			System.exit(1);
		}
		
		String pdbFiles[] = new String[numFiles];

		boolean done = false;
		String str = null;
		int curFile = 0;
		
		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 {
				if (curFile>=numFiles)
					break;
				else {
					pdbFiles[curFile] = getToken(str,1);
					curFile++;
				}
			}
		}
		
		if (curFile<numFiles){
			String tmp[] = new String[curFile];
			System.arraycopy(pdbFiles, 0, tmp, 0, tmp.length);
			pdbFiles = tmp;
		}
					
		// We're done reading them in
		try {
			bufread.close();
		}
		catch(Exception e)
		{}
		
		return pdbFiles;
	}