private void load() {
   File macroFolder = new File(MACRO_FOLDER);
   if (macroFolder.exists()) {
     File[] files = macroFolder.listFiles();
     for (File file : files) {
       try {
         FileReader fileReader = new FileReader(file);
         try {
           load(fileReader);
         } finally {
           fileReader.close();
         }
       } catch (IOException e) {
         e.printStackTrace();
       }
     }
   }
 }
 @EventHandler
 public void onPluginEnableEvent(PluginEnableEvent event) {
   load();
 }