Add header, transaction and raw serializers, add support for file input(s).