importTxt function

Import grid data from a text file.