public String[] getSequence()
    {
        List<String> sequenceCmds = new ArrayList<String>();
        
        try{
              m_fStream = new FileInputStream(SEQUENCE_FILENAME);
              m_dataInStream = new DataInputStream(m_fStream);
              m_reader = new BufferedReader(new InputStreamReader(m_dataInStream));
              
              String strLine;
              //Read File Line By Line
              while ((strLine = m_reader.readLine()) != null)   {
                  // Commands are comma-separated, so split the string on a comma
                  String[] strings = strLine.split(",");

                  // If the right number of parameters are found and it's not a comment line ...
                  if (strings.length == 3 && !strLine.contains("#")) {
                      for (int i = 0; i < strings.length; i++) {
                          // Trim the string of white space and add it to the ArrayList
                          strings[i] = strings[i].trim();
                          sequenceCmds.add(strings[i]);
                      }
                  }
              }
              //Close the input stream
              m_dataInStream.close();
            } catch (Exception e) {//Catch exception if any
              System.err.println("Error: " + e.getMessage());
              return null;
            }
        return sequenceCmds.toArray(new String[sequenceCmds.size()]);
    }