Delete archives
        :return:

def delete_archives(self, *archives):
        '''
        Delete archives
        :return:
        '''
        # Remove paths
        _archives = []
        for archive in archives:
            _archives.append(os.path.basename(archive))
        archives = _archives[:]

        ret = {'files': {}, 'errors': {}}
        for archive in self.archives():
            arc_dir = os.path.dirname(archive)
            archive = os.path.basename(archive)
            if archives and archive in archives or not archives:
                archive = os.path.join(arc_dir, archive)
                try:
                    os.unlink(archive)
                    ret['files'][archive] = 'removed'
                except Exception as err:
                    ret['errors'][archive] = str(err)
                    ret['files'][archive] = 'left'

        return ret