President Trump’s legal team on Sunday filed an appeal to a federal judge’s ruling