eliminated redundancies in reading in files
eliminated redundancies in reading in files