make sure all files uploaded successfully