import zipfile


def files_in_zip(path=None) -> list:
    """
    Function that returns list of files from archive
    :param path: path to zip-archive
    :return: list of files in archive
    """
    if not path:
        raise NameError('Required path to archive')
    with zipfile.ZipFile(path, 'r') as zipobj:
        return zipobj.namelist()