load tables, read in text files