He plays for the Kontinental Hockey League ( KHL ) . Before joining the KHL , Emery played for the Ottawa Senators of the National Hockey League ( NHL ) . He formerly played for the Philadelphia Flyers and the Ottawa Senators of the National Hockey League ( NHL ) and Atlant Moscow of the Kontinental Hockey League ( KHL ) .