code: public static Map<JavaDumpAction, String> readJavaDumpLocations(File javaDumpLocationFile) {
  
          Map<JavaDumpAction, String> fileLocations = new EnumMap<JavaDumpAction, String>(JavaDumpAction.class);
          BufferedReader reader = null;
          try {
              reader = new BufferedReader(new InputStreamReader(new FileInputStream(javaDumpLocationFile), "UTF-8"));
              for (String line; (line = reader.readLine()) != null;) {
                  int index = line.indexOf('=');
                  String actionName = line.substring(0, index);
                  String fileName = line.substring(index + 1).trim();
                  fileLocations.put(JavaDumpAction.valueOf(actionName), fileName);
              }
          } catch (IOException ex) {
              return null;
          } finally {
              Utils.tryToClose(reader);
          }
  
          return fileLocations;
      }
docs: Read in the file containing the location of the java dumps and populate into a map of dump type
  to file location
  
  @param javaDumpLocationFile the file containing the dump locations
  @return a map of java dump action and the corresponding file location or null if we could not successfully read the .dumpedjava file