A New Zealand man has discovered pages of confidential US military files on a used MP3 player he bought.