         }
         
         waitForExpectations(timeout: 20.0, handler: nil)
+        
+        try? fileManager.removeItem(at: URL(fileURLWithPath: file1))
+        try? fileManager.removeItem(at: URL(fileURLWithPath: file2))
     }
 
     static var allTests : [(String, (SwiftDLTests) -> () throws -> Void)] {

                fatalError("Never reaches here.")
            }
        }
    }
    
    func testCancel() {

        
        XCTAssertTrue(progressSet.contains("11 / 112"))
        XCTAssertTrue(progressSet.contains("112 / 112"))
        
        try? fileManager.removeItem(at: URL(fileURLWithPath: file1))
        try? fileManager.removeItem(at: URL(fileURLWithPath: file2))
    }
    
    func testProgress() {
