fixing test file read
updating for AF7