public boolean readFile(File file, MessageSet msgSet) {
        BufferedReader reader = null;
        boolean isSuccess = false;

        try {
            reader = new BufferedReader(new InputStreamReader(new FileInputStream(file), "utf-8"));
            
            String s;
            while((s = reader.readLine()) != null) {
                String[] data = s.trim().split("\t");
                
                if(data.length >= 4) {                
                    Message msg = new Message();
                    
                    msg.setName(data[0]);
                    msg.setOpcode(data[1]);
                    msg.setDataSize(data[2]);
                    msg.setOperatorId(data[3]);

                    if(data.length > 4) {
                        msg.setData(data[4]);
                    } else {
                        msg.setData("00");
                    }
                    msgSet.add(msg);
                }
            }            
            reader.close();
            isSuccess = true;
        } catch (IOException ex) {
            Logger.getLogger(MessageReader.class.getName()).log(Level.SEVERE, null, ex);
            isSuccess = false;
        }
        
        return isSuccess;
    }