private String readFile(File eventFile) throws IOException {
        BufferedReader reader = new BufferedReader(new FileReader(eventFile));
        StringBuilder sBuilder = new StringBuilder();
        try {
            String line = reader.readLine();
            while (line != null) {
                sBuilder.append(line);
                line = reader.readLine();
            }
        } finally {
            reader.close();
        }
        return sBuilder.toString();
    }