code: public static <T extends File> T createFile(final SecurityContext securityContext, final InputStream fileStream, final String contentType, final Class<T> fileType, final String name)
  			throws FrameworkException, IOException {
  
  		return createFile(securityContext, fileStream, contentType, fileType, name, null);
  
  	}
docs: Create a new file node from the given input stream
  
  @param <T>
  @param securityContext
  @param fileStream
  @param contentType
  @param fileType defaults to File.class if null
  @param name
  @return file
  @throws FrameworkException
  @throws IOException