def file_unload(file: str):
    """
    Open text file, read it's contents and write unpack them into list.

    :param file: str -- name of the config file
    :return: list -- list of lines read from the file
    """
    unpacked_file = []
    with open(file, "r") as f:
        for line in f:
            if line.startswith("#") or line == "\n":
                continue
            else:
                unpacked_file.append(line.strip("\n"))
    return unpacked_file