use native choose file dialog, it is much faster than the one i build with js