docs: @Override
      public GalleryFile getGalleryFile(String publicPath) throws IOException, NotAllowedException {
          LOG.debug("Entering getGalleryFile(publicPath={})", publicPath);
          File file = getRealFileOrDir(publicPath);
          if (file.isDirectory()) {
              throw new FileNotFoundException("Directories not allowed in this method!");
          }
          return createGalleryFile(publicPath, file);
      }