check if last file has been uploaded.