code: public static RefCountedFile newFile(
  			final File file,
  			final OutputStream currentOut) throws IOException {
  		return new RefCountedFile(file, currentOut, 0L);
  	}
docs: ------------------------------ Factory methods for initializing a temporary file ------------------------------