private List<String> readFileFromLocalFS(final String filename) throws IOException {
    return Files.readAllLines(Paths.get(filename), StandardCharsets.UTF_8);
  }
used to read the rule files from local FS
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/HeterogeneousRegionCountCostFunction.java