public String[] ReadVulnerabilityData(String TargetPHPFileSelectedComboBox) {
        String[] VulnerabilityData = null;

        int count = 0;
        PreparedStatement ps = null;
        ResultSet rs = null;

        // Adapted from http://developers.sun.com/docs/javadb/10.2.2/ref/rrefclob.html
        try {
            if ((conn = setConn()) != null) {
                System.out.println("Connected to database " + getDatabaseName());
            } else {
                throw new Exception("Not connected to database " + getDatabaseName());
            }

            conn.setAutoCommit(false);


            // Test to see if the Target PHP file is already in the DB
            ps = conn.prepareStatement("SELECT COUNT(*) FROM VULNERABILITY_INJECTION_RESULTS,TARGET_PHP_FILES WHERE VULNERABILITY_INJECTION_RESULTS.TARGET_PHP_FILE=TARGET_PHP_FILES.ID AND TARGET_PHP_FILES.PATH=?"); // get the result

            ps.setString(1, TargetPHPFileSelectedComboBox);
            rs = ps.executeQuery(); // get the result

            rs.next();
            count = rs.getInt(1);
            rs.close();
            ps.close();

            VulnerabilityData = new String[count + 1];
            VulnerabilityData[0] = "null";

            // Test to see if the Target PHP file is already in the DB
            ps = conn.prepareStatement("SELECT VULNERABILITY_INJECTION_RESULTS.DIFF_TEXT FROM VULNERABILITY_INJECTION_RESULTS,TARGET_PHP_FILES WHERE VULNERABILITY_INJECTION_RESULTS.TARGET_PHP_FILE=TARGET_PHP_FILES.ID AND TARGET_PHP_FILES.PATH=?"); // get the result

            ps.setString(1, TargetPHPFileSelectedComboBox);
            rs = ps.executeQuery(); // get the result

            while (rs.next()) {
                // Open matches log file.
                VulnerabilityData[rs.getRow()] = rs.getString(1);
            }
            rs.close();
            ps.close();
            conn.commit();
            conn.close();

        } catch (Throwable e) {
            System.out.println("exception thrown:");

            if (e instanceof SQLException) {
                printSQLError((SQLException) e);
            } else {
                e.printStackTrace();
            }
        }
        return VulnerabilityData;
    }