private static void logDir(File dir) {
        if (!DEBUG) return;
        Log.d(TAG, "Dir=" + dir);
        File[] files = dir.listFiles();
        for (File file : files) {
            Log.d(TAG, "File=" + file.getPath());
        }
    }
Creates View intent for given file

@param file
@return The intent for viewing file
android/modules/module_common/src/main/java/github/tornaco/android/thanos/util/AndroidFileUtils.java