allow injection of scope to serializer object.
handle file analog to iri and flush after write.