@property
    def original_file(self):
        """
        Returns path of original file (whitout version suffix).
        """
        file_path = self.image
        file_path, ext = file_path.rsplit('.', 1)
        file_path, suffix_version = file_path.rsplit('_', 1)
        if suffix_version in VERSIONS.keys():
            return u'%s.%s' % (file_path, ext)
        return self.image
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/plugin_app/plugin_image/models.py/Plugin_Image.original_file/original