changed to using testfile