def read_text(path):
    """
    Read a file and return cleaned rows of content as a list.
    """
    with open(path) as f_in:
        lines = f_in.read().splitlines()

    return [line.replace("\\n", "\n") for line in lines if line]