def read_file(path):
    """
    Reads and returns the entire content of a file.
    """
    with open(path, "r", encoding="utf-8") as f:
        return f.read()


def read_lines(path):
    """
    Reads a file and returns a list of lines.
    """
    with open(path, "r", encoding="utf-8") as f:
        return f.readlines()
