use `IOUtils.toByteArray(fileIn)` for simplicity.