call back on file2json