Writing a serialized protobuf directly to disk allows you to read it directly back during tests without worrying about remote calls.