Save successfully scanned data to file.