The prosecutors , however , kept the proceeding secret until Friday , when they unsealed the plea agreement and charges brought against Humayun Khan , an Islamabad businessman with longstanding ties to Pakistan 's military .