edit lecture: lecture 11: add openFile and getLine