Writing glue code to act as a shim between java.io.File and VFS