Thanedar files to appear on primary ballot