; (B) agreeing to join motions for dismissal, administrative closure, or continuances; (C) stipulating to facts or conclusions of law; (D) joining motions to grant relief; and (E) not pursuing appeals. (5) Right to review certain documents Not later than 7 days after providing a notice to appear to an unaccompanied child or to such child's legal counsel pursuant to section 239(a), the Director of U.S. Immigration and Customs Enforcement shall provide to such child or such legal counsel, as appropriate, a complete copy of the child’s immigration file (commonly known as an A-file ) in the possession of the Department of Homeland Security (other than documents protected from disclosure under section 552(b) of title 5, United States Code). . (b) Rulemaking The Attorney General shall promulgate regulations to implement the amendment made by subsection (a). (c) Clerical amendment The table of contents of the Immigration and Nationality Act ( 8 U.S.C. 1101 note) is amended by inserting after the item relating to section 240C the following: Sec. 240D. Children’s Court. . 3. Prohibition on information sharing (a) Child in custody and prospective sponsors The Director of the Office of Refugee Resettlement may not provide any information about an unaccompanied alien child in the custody of the Secretary of Health and Human Services, or prospective sponsors, to the Attorney General or the Secretary of Homeland Security without the consent of— (1) such child or the child's prospective sponsor, as applicable