trying to implement readAFile test