Finish file uploading