add . to each line