Import data from a text file