import sqlite3 def writeTofile(data, filename): # Convert binary data to proper format and write it on Hard Disk wit