public static String getMimeType(Context context, Uri uri) {
        File file = new File(getPath(context, uri));
        return getMimeType(file);
    }
@return The MIME type for the give Uri.
android/modules/module_common/src/main/java/github/tornaco/android/thanos/util/AndroidFileUtils.java