In preparation for a legal proceeding on the terrorist designation in August , the Treasury Department inadvertently gave the foundation 's lawyers and directors a top secret document dated May 24 , 2004 .