@Override
    public ContentStorage.FileInformation getFileInfo(@NonNull final Folder folder, final String name) throws IOException {

        //this is very slow...
        for (ContentStorage.FileInformation fi : list(folder)) {
            if (fi.name.equals(name)) {
                return fi;
            }
        }
        return null;
    }
method tested on SDK21, 23, 29 and 30; both with targetSDK=29 and targetSDk=30
main/src/main/java/cgeo/geocaching/storage/DocumentContentAccessor.java