file upload and PI complete