The American Civil Liberties Union has filed a lawsuit over family separations at the US-Mexico border.