Trump files motion to dismiss New York criminal case