inital file upload with initial functionality