@Override
    public Uri getUriForFolder(@NonNull final Folder folder) throws IOException {
        try {
            return getFolderUri(folder, false, false, false);
        } catch (IllegalArgumentException iae) {
            try {
                return getFolderUri(folder, false, false, true);
            } catch (IllegalArgumentException iae2) {
                Log.d("Exception while trying to getUriForFolder '" + folder + "'", iae2);
                return null;
            }
        }
    }
retrieves a FileInformation object from the current cursor row retrieved by using {@link #queryDir(Uri, String[], Func1)} columns
main/src/main/java/cgeo/geocaching/storage/DocumentContentAccessor.java