switched to pass file path and content using separated parameters instead of inside a JSON object, to avoid the trouble from quotes and JSON interpretation