- Read expected from a file.