public void readCard(String pfilePath) throws Exception {
         
//        URL Url = getClass().getResource(sfilePath); 
//        String pfilePath = "/" + Url.getPath();
        
        InputStream stream  = ClassLoader.getSystemResourceAsStream(pfilePath);
                		
        InputStreamReader reader = new InputStreamReader(stream); 
               // new FileInputStream(pfilePath)); 
        BufferedReader br = new BufferedReader(reader);  
        String line = "";  
        line = br.readLine(); 
        resetLoader(pfilePath);
        while (line != null && !mStopFlag) { 
        	InstructCount++;
        	decodeInstruction(line);
                //ControlPanel.jMessages.append(line+"\n");
                line = br.readLine(); 
        }
        if (line==null) {
            if (mControlPanel.runType == 1) {
                        mControlPanel.Instructions = new Instruction(mControlPanel);
                        mControlPanel.Instructions.setPfileName(pfilePath);
			mControlPanel.Instructions.start();
            }
            else{
                        PipelinedInstruction PipelinedInstructions1 = new PipelinedInstruction(1,mControlPanel);
                        PipelinedInstruction PipelinedInstructions2 = new PipelinedInstruction(3,mControlPanel);
                        PipelinedInstruction PipelinedInstructions3 = new PipelinedInstruction(6,mControlPanel);
                        
                        PipelinedInstructions1.setPfileName(pfilePath);
                        PipelinedInstructions2.setPfileName(pfilePath);
                        PipelinedInstructions3.setPfileName(pfilePath);
                        
			PipelinedInstructions1.start();
                        PipelinedInstructions2.start();
                        PipelinedInstructions3.start();
            }
                       
		}
	}