change error message when command file invalid json
fix usage