title: Create a file from a ByteArrayOutputStream
body: <p>Can someone explain how I can get a file object if I have only a <code>ByteArrayOutputStream</code>.  How to create a file from a <code>ByteArrayOutputStream</code>?</p>