The city has filed a lawsuit against Cambridge Waterfront Development Incorporated (CWDI), alleging that the non-profit organization has violated its agreement with the city.