Read json from file instead of from commandline argument