migrate line reader.