def get_path_lines(path_obj):
    """
    return lines of text file from path obj
    """
    with path_obj.open() as fh:
        lines = fh.readlines()
        return [line.rstrip() for line in lines]