def __get_lines(path):
    """Opens a file and read the lines.

    Args:
        path (string): path of the file.

    Raises:
        Exception: File Not Found, if the file doesnt exist.

    Returns:
        list: List of the lines.
    """
    try:
        file = open(path, 'r')
    except FileNotFoundError:
        raise Exception("Error: File Not Found")

    lines = file.readlines()
    file.close()

    return lines