code: private StringBuilder extract(File in) throws IOException {
          BufferedReader reader = null;
          String line = null;
          StringBuilder builder = new StringBuilder();
  
          try {
              reader = new BufferedReader(new FileReader(in));
  
              while ((line = reader.readLine()) != null) {
                  // Forcibly exclude IBM-License-Information header if we're using the specialTerms 
                  if (!line.startsWith("IBM-License-Information") || !specialFeatureTermsApply()) {
                      builder.append(line);
                      builder.append(NEW_LINE);
                  }
              }
          } finally {
              if (reader != null) {
                  reader.close();
              }
          }
  
          String trimmedFile = builder.toString().trim();
          return new StringBuilder(trimmedFile);
      }
docs: Extracts the file into a string builder, trimming any white space/new lines that
  may exist at the beginning or end of the file.
  
  @param in The file to extract into string form
  @return the StringBuilder version of the file after trimming
  @throws IOException