processes files with the codegen tool and automatically pushes it to a json file