On Friday, immigrant advocacy groups filed a lawsuit on behalf of at least 10,000 detained immigrant children and their sponsors.