File-based decoder