code: static public InputStream replaceProperties(File file, Properties props) throws IOException, SubstitutionException {
  	return replaceProperties(new FileInputStream(file), props);
      }
docs: Creates an InputStream containing the document resulting from replacing template
  parameters in the given file.
  @param file The template file
  @param props The properties
  @return An InputStream containing the resulting document.