title: create File from FileOutputStream
body: <p>I'm using <code>org.apache.commons.net.ftp</code> to download files in a remote machine.
  There is a method, that reads the files to a <code>FileOutputStream</code> object.</p>
  
  <pre><code>ftpClient.retrieveFile("/" + ftpFile.getName(), fos);
  </code></pre>
  
  <p>Problem, here is, i've another method that accepts a <code>File</code> object.  So, i need to create a <code>File</code> object file the <code>FileOutputStream</code>.  I think, i need to create an <code>InputStream</code> to be able to create a file object from the <code>FileOutputStream</code>.  is this correct?  I might be missing something and there should be an easy way to create a <code>File</code> from a <code>FileOutputStream</code>?</p>