Three weeks after officials confirmed that a 44-year-old New York City man had contracted inhalation anthrax , prompting the police to seal a Brooklyn warehouse where he worked , the building was reopened yesterday to most commercial tenants .