update the method of reading temp files to be more traditional...