docs: public CmsResource readDefaultFile(
          CmsRequestContext context,
          CmsResource resource,
          CmsResourceFilter resourceFilter)
      throws CmsSecurityException {
  
          CmsResource result = null;
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              CmsResource tempResult = m_driverManager.readDefaultFile(dbc, resource, resourceFilter);
              if (tempResult != null) {
                  // check if the user has read access to the resource
                  checkPermissions(dbc, tempResult, CmsPermissionSet.ACCESS_READ, true, resourceFilter);
                  result = tempResult;
              }
          } catch (CmsSecurityException se) {
              // permissions deny access to the resource
              throw se;
          } catch (CmsException e) {
              // ignore all other exceptions
              LOG.debug(e.getLocalizedMessage(), e);
          } finally {
              dbc.clear();
          }
          return result;
      }