Several pro-gun groups, including the New York State Rifle and Pistol Association, filed a lawsuit in federal court Thursday challenging the constitutionality of the state's new gun law.