Ed Sheeran has filed a lawsuit against Sam Chokri after losing royalties to his song “The Shape Of You”.