private static FileSystem createFileSystem() { // TODO: use the current platform configuration and get rid of all the agnostic path stuff. Configuration config = Configuration.unix(); config = config.toBuilder() .setWorkingDirectory("/") .setAttributeViews("posix") .build(); return Jimfs.newFileSystem(config); }