add extra debug to testReadFile