         uv_fs_write(uv_default_loop(), request, fd, buffer, 1, -1, afterWrite)
     }
     
-    public static func unlink(loop : uv_loop_ptr = uv_default_loop(), request : uv_fs_ptr, path : String) {
+    public static func unlink(loop : uv_loop_ptr = uv_default_loop(), path : String) {
+        let request = uv_fs_ptr.alloc(1)
         let error = uv_fs_unlink(loop, request, path, FSBase.afterUnlink)
         
         if error == 0 {

    }
    
    public static var afterUnlink : uv_fs_cb = { request in
        
    }
    
    public static var afterMakeDirectory : uv_fs_cb = { request in
        
    }
}

        }
    }
    
    public static func makeDirectory(loop : uv_loop_ptr = uv_default_loop(), path : String, mode : Int32 = 0o666) {
        let request = uv_fs_ptr.alloc(1)
        let error = uv_fs_mkdir(loop, request, path, mode, FSBase.afterMakeDirectory)
        
        if error == 0 {
