set up files for studentregphase2