private static void readPathsFromFile(String fileName, Collection<String> paths)
      throws IOException {
    BufferedReader bfr = null;
    try {
      FileReader fr = new FileReader(fileName);
      bfr = new BufferedReader(fr);

      String line;

      while (null != (line = bfr.readLine())) {
        paths.add(fixPath(line));
      }

    } finally {
      if (bfr != null) {
        bfr.close();
      }
    }
  }
Run and return a result code.

@param arguments the data + parameters for the conversion
@return 0 if success &gt; 0 otherwise.
android/android_framework/dex-maker/src/main/java/com/android/dx/command/dexer/Main.java