Updated so code is opening a file now. Have to finish the read line functions