import re


def read_utility_lists(path):
    """
    Reads a list of filenames/tags from a utility list (e.g. include.txt).

    :param path: The file to read.
    """
    result = []
    try:
        with open(path, encoding='utf-8') as util_file:
            for line in util_file:
                for match in re.findall(r'\[(.+?)\]', line):
                    result.append(match)
    except IOError:
        pass
    return result