public ResourceFileReader(String Platform_fileName, String Node_fileName) throws IOException {
        if (Platform_fileName == null || Platform_fileName.length() == 0) {
            throw new IllegalArgumentException("Invalid Platform file name.");
        }

        if (Node_fileName == null || Node_fileName.length() == 0) {
            throw new IllegalArgumentException("Invalid Node file name.");
        }
        // create a temp array
        fieldArray = new String[NODE_MAX_FIELD];

        this.platform_fileName = Platform_fileName;
        this.node_fileName = Node_fileName;
        this.NodeNum = 0;
        
        try {
	            platform_readFile(platform_fileName);
		} catch (FileNotFoundException e1) {
			logger.log(Level.SEVERE, "File not found", e1);
		}
			try {
	            node_readFile(node_fileName);
		} catch (FileNotFoundException e2) {
			logger.log(Level.SEVERE, "File not found", e2);
		}
        
        
    }