xor file's binary content
Transforms and loads JSON to a Mysql db
a safe error handler inspired by golang approach