working on lab5main, getting it to read in a single file