private void pickRandomQuote(MessageEvent<PircBotX> event) {
        try {
        if (!file.exists()) {
                System.out.println(file.createNewFile());
        }
        FileReader fw = new FileReader(file);
        BufferedReader reader = new BufferedReader(fw);
        String line;
        Random random = new Random();
        int i = 0;
        while ((line = reader.readLine()) != null){
            if(line != null){
                i++;
            }
        }
        i = random.nextInt(i-1);
        if(FileUtils.readLines(file).get(i)!=null){
        MessageSending.sendNormalMessage(FileUtils.readLines(file).get(i).toString(), event);
        }

        } catch (IOException e) {
            e.printStackTrace();
        }
    }