The script automatically discovers the subfolder containing the checkpoint.