Java generated fromFile(String) method leaks file handles
If you use a generated Java class and call the `.fromFile()` method, then you will permanently leak the file handle, because the stream is never closed after `_read()` is called.