code: public static String parseNonceFromHashinatorConfigFilename(String filename) {
          if (filename == null || !filename.endsWith(HASH_EXTENSION)) {
              throw new IllegalArgumentException("Bad hashinator config filename: " + filename);
          }
  
          return parseNonceFromSnapshotFilename(filename);
      }
docs: Get the nonce from the filename of the hashinator config file.
  @param filename The filename of the hashinator config file
  @return The nonce