added update and test file to read both files.