code: public static List<File> getSerializedMOTFiles() {
          File folder = getMotdFileOutputStreamProvider().getMOTDFolder();
          if (!folder.exists() && !folder.mkdirs())
              throw new IllegalStateException("Unable to create the folder for serialized MOTDs");
          List<File> res = new ArrayList<>();
  
          for (File file : folder.listFiles()) {
              if (file.isFile() && file.getName().matches(getRegexToMatchSerializedMOTs())) {
                  res.add(file);
              }
          }
  
          return res;
      }
docs: Returns a list of files that contain serialized {@code MOTD}s
  
  @return A list of files that contain serialized {@code MOTD}s