Paul McCartney has filed a federal lawsuit against music publisher Sony/ATV to "confirm his ownership" of dozens of Beatles songs.