anchor.diff:  
     static void testDirectorySync() {
       var tempDir = tempDirectory.path;
  -    var file = new File("${tempDir}/file");
  +    var file = new File("${tempDir}/testDirectorySync");
       // Non-existing file should throw exception.
       Expect.throws(file.directorySync, (e) { return e is FileIOException; });
       file.createSync();
  
positive.code: 
    // Test for file write of different types of lists.
    static void testWriteVariousLists() {
      final String fileName = "${tempDirectory.path}/testWriteVariousLists";
      final File file = new File(fileName);
      file.create();
  
negative.code:   }
  
    static void testDirectory() {
      asyncTestStarted();
  
      // Port to verify that the test completes.
      var port = new ReceivePort.singleShot();
      port.receive((message, replyTo) {
        Expect.equals(1, message);
        asyncTestDone("testDirectory");
      });
  
      var tempDir = tempDirectory.path;
      var file = new File("${tempDir}/testDirectory");
      var errors = 0;
      file.directory();
      file.directoryHandler = (d) => Expect.fail("non-existing file");
  