code: public static @CheckForNull <T extends Saveable> T load(@Nonnull Class<T> clazz) throws IOException {
          XmlFile file = getConfigFile(clazz);
          return file.exists() ? clazz.cast(file.read()) : null;
      }
docs: Loads a Saveable object from its default location or returns {@code null} when the file doesn't exist.