def read_namespace_file(package):
    """Parses NAMESPACE file for exports

    :param: package: string for the package name
    :return: list of exports
    """
    inner_list = []
    namespace_file = f'{package}/NAMESPACE'
    try:
        with open(namespace_file, 'r', encoding='ISO-8859-1') as nmspc_file:
            for i in nmspc_file:
                if i.startswith('export('):
                    func = i[len('export('):]
                    func = func.rstrip(')\n')
                    inner_list.append(func)
    except FileNotFoundError:
        return inner_list
    return inner_list
