protected function getContentType($method)
    {
        // Just to make PHPMD happy.
        $method = null;
        $file = $this->getArgument("file");
        if (!is_null($file)) {
            return "text/csv";
        }
        $soundFile = $this->getArgument("sound_file");
        if (!is_null($soundFile)) {
            return "audio/mpeg";
        }
        return 'application/json';
    }