get rid of call to readFile() because it is causing a document error and
I don't think it is necessary for this project.
add line mode object