Add support for changing the filename, returning a json response with the id, pre-initializing the policy.