def _read_file(path):
    """Read lines from a file.

    Arguments:
        path: string
            file filepath

    Returns:
        data: [string]
            list of string lines from file
    """
    with open(path) as f:
        data = f.read().splitlines()
    return data