Seven environmental groups filed an amicus brief Tuesday in the appeal of an order shutting down an Everglades immigration detention center, arguing that the district court was right to enjoin the center because the federal government failed to fulfill its obligations under the National Environmental Policy Act.