read in necessary files