import glob


def get_lines_from_file(folder_name, interface_name, file_string):
    """Open file with the path "folder_name/interface_name/filestring"
    and return its contents.
    """
    with open(glob.glob(
            f"{folder_name}/{interface_name}/{file_string}")[0], "r") as file:
        return file.readlines()