init file upload