code: public byte[] transform(String className, File file) throws IOException, IllegalClassFormatException {
  		try {
  			return transform(className, new FileInputStream(file));
  			
  		} catch (FileNotFoundException e){
  			throw new RuntimeException(e);
  		}
  	}
docs: Transform a file.