anchor.diff:    }
   
     static int testTruncate() {
  -    String filename = getFilename("tests/vm/data/fixed_length_file");
  -    File file = new File("${filename}_out_truncate");
  +    File file = new File(tempDirectory.path + "/out_truncate");
       List buffer = const [65, 65, 65, 65, 65, 65, 65, 65, 65, 65];
       file.errorHandler = (error) {
         Expect.fail("testTruncate: No errors expected");
  
positive.code:       };
        file.readList(buffer1, 0, 42);
      };
      file.open();
      return 1;
  
  
negative.code:   static int testCloseExceptionStream() {
      bool exceptionCaught = false;
      bool wrongExceptionCaught = false;
      File file = new File(tempDirectory.path + "/out_close_exception_stream");
      file.createSync();
      FileInputStream input = file.openInputStream();
      input.close();
  