How to create ByteArrayInputStream from a file in Java? How to create ByteArrayInputStream from a file in Java? arrays arrays