impl file native handle
remove native handle
impl aicp for mingw