[java] Is it possible to create a File object from InputStream