Importing trend data from text files