Finished Functions that read in from files