how can i get the information in a text file