def _create_audio_file(self, name, description, creator, contribution,
                           the_file):
        from geokey.contributions.models import AudioFile

        filename, extension = os.path.splitext(the_file.name)
        filename = self._normalise_filename(filename)
        the_file.name = filename[:FILE_NAME_TRUNC] + extension

        return AudioFile.objects.create(
            name=name,
            description=description,
            creator=creator,
            contribution=contribution,
            audio=the_file
        )
Return a MenuManager object that will generate the appropriate
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/managers.py/MediaFileManager._create_audio_file--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/grid/simple_grid_model.py/SimpleGridModel.get_cell_context_menu