open the text file and improve it