almost get file upload done