public static InputStream openInputStream(Object uri) throws IOException { return Path.valueOf(uri).openInputStream(); }