Return value of read should be used here.